@xmobitea/gn-server 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -86361,9 +86361,10 @@ class ServerApplication extends BuilderBase {
|
|
|
86361
86361
|
let fullLogPath = configFullLogPath;
|
|
86362
86362
|
if (fullLogPath) {
|
|
86363
86363
|
if (!fs_1.default.existsSync(fullLogPath)) {
|
|
86364
|
-
fullLogPath = process.cwd() + configFullLogPath;
|
|
86364
|
+
fullLogPath = process.cwd() + "/" + configFullLogPath;
|
|
86365
86365
|
}
|
|
86366
86366
|
}
|
|
86367
|
+
console.log(fullLogPath);
|
|
86367
86368
|
console.log("[GN] FullLogPath at: " + fullLogPath);
|
|
86368
86369
|
xDebug_1.Debug.init({
|
|
86369
86370
|
isLogToConsoleEnable: this.getLogSettings().getLogToConsoleEnable(),
|
|
@@ -88950,7 +88951,7 @@ class UploadFileMiddleware {
|
|
|
88950
88951
|
let uploadPath = configUploadPath;
|
|
88951
88952
|
if (uploadPath) {
|
|
88952
88953
|
if (!fs_1.default.existsSync(uploadPath)) {
|
|
88953
|
-
uploadPath = process.cwd() + this.uploadPath;
|
|
88954
|
+
uploadPath = process.cwd() + "/" + this.uploadPath;
|
|
88954
88955
|
}
|
|
88955
88956
|
}
|
|
88956
88957
|
return multer_1.default.diskStorage({
|
|
@@ -89748,7 +89749,7 @@ class UploadFileHandler {
|
|
|
89748
89749
|
let uploadPath = configUploadPath;
|
|
89749
89750
|
if (uploadPath) {
|
|
89750
89751
|
if (!fs_1.default.existsSync(uploadPath)) {
|
|
89751
|
-
uploadPath = process.cwd() + this.uploadPath;
|
|
89752
|
+
uploadPath = process.cwd() + "/" + this.uploadPath;
|
|
89752
89753
|
}
|
|
89753
89754
|
}
|
|
89754
89755
|
if (!fs_1.default.existsSync(uploadPath)) {
|