mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: update codes
This commit is contained in:
parent
e27dddef61
commit
3b76ee9078
@ -56,7 +56,7 @@ const fetchMetaData = async (url) => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const BASE_URL = process.env.AF_BASE_URL || 'https://test.appflowy.cloud';
|
const BASE_URL = process.env.AF_BASE_URL || 'https://beta.appflowy.cloud';
|
||||||
const createServer = async (req) => {
|
const createServer = async (req) => {
|
||||||
const timer = logRequestTimer(req);
|
const timer = logRequestTimer(req);
|
||||||
const reqUrl = new URL(req.url);
|
const reqUrl = new URL(req.url);
|
||||||
@ -140,7 +140,7 @@ const start = () => {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
logger.info(`Server is running on port 3000`);
|
logger.info(`Server is running on port 3000`);
|
||||||
logger.info(`Base URL: ${process.env.AF_BASE_URL}`);
|
logger.info(`Base API URL: ${process.env.AF_BASE_URL}`);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
logger.error(err);
|
logger.error(err);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user