feat(server): allow customize server external url (#7270)

closes https://github.com/toeverything/AFFiNE/issues/7252
This commit is contained in:
forehalo
2024-06-19 12:03:36 +00:00
parent 9746ddb5e0
commit d34c5c42ef
7 changed files with 105 additions and 56 deletions

View File

@@ -138,6 +138,7 @@
]
},
"files": [
"**/__tests__/**/*.spec.ts",
"tests/**/*.spec.ts",
"tests/**/*.e2e.ts"
],
@@ -170,6 +171,7 @@
"*.gen.*"
],
"env": {
"AFFINE_SERVER_EXTERNAL_URL": "http://localhost:8080",
"TS_NODE_TRANSPILE_ONLY": true,
"TS_NODE_PROJECT": "./tsconfig.json",
"DEBUG": "affine:*",
@@ -187,7 +189,8 @@
"exclude": [
"scripts",
"node_modules",
"**/*.spec.ts"
"**/*.spec.ts",
"**/*.e2e.ts"
]
},
"stableVersion": "0.5.3",