1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 07:27:04 +00:00

update sdoc editor version

This commit is contained in:
杨顺强
2025-03-17 21:14:41 +08:00
parent 020a04d6ba
commit 5c9edac317
3 changed files with 7 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
'use strict';
const path = require('path');
const fs = require('fs');
@@ -22,7 +22,7 @@ const resolveApp = relativePath => path.resolve(appDirectory, relativePath);
// );
// reset by custom
const HOST = process.env.HOST || '0.0.0.0';
const HOST = '127.0.0.1';
const PORT = process.env.PORT || '3000';
const publicPath = process.env.PUBLIC_PATH || '/assets/bundles/';
const publicUrlOrPath = `http://${HOST}:${PORT}${publicPath}`;
@@ -79,5 +79,4 @@ module.exports = {
};
module.exports.moduleFileExtensions = moduleFileExtensions;