mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: modified server.cjs to server.js
This commit is contained in:
parent
6e4cc3a174
commit
a7397b74a0
@ -86,7 +86,7 @@ const createServer = async (req) => {
|
|||||||
let metaData;
|
let metaData;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
metaData = await fetchMetaData(`${baseUrl}/api/workspace/published/${namespace}/${publishName}`);
|
metaData = await fetchMetaData(`${baseURL}/api/workspace/published/${namespace}/${publishName}`);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
logger.error(`Error fetching meta data: ${error}`);
|
logger.error(`Error fetching meta data: ${error}`);
|
||||||
}
|
}
|
@ -6,7 +6,7 @@
|
|||||||
service nginx start
|
service nginx start
|
||||||
|
|
||||||
# Start the frontend server
|
# Start the frontend server
|
||||||
bun run server.cjs
|
bun run server.js
|
||||||
|
|
||||||
tail -f /dev/null
|
tail -f /dev/null
|
||||||
|
|
||||||
|
@ -47,7 +47,8 @@
|
|||||||
"src",
|
"src",
|
||||||
"vite.config.ts",
|
"vite.config.ts",
|
||||||
"cypress.config.ts",
|
"cypress.config.ts",
|
||||||
"cypress"
|
"cypress",
|
||||||
|
"deploy/server.js"
|
||||||
],
|
],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"node_modules",
|
"node_modules",
|
||||||
|
Loading…
Reference in New Issue
Block a user