mirror of
https://github.com/sub-store-org/Sub-Store.git
synced 2026-12-03 09:45:54 +00:00
Fixed Node.js cannot start issue
This commit is contained in:
1 parent
a9afae92c5
commit
8dbeb8eff3
3 files changed
+4
-4
No files matched your search
Vendored
+1
-1
@@ -2,7 +2,7 @@
|
||||
import { ENV } from './open-api';
|
||||
|
||||
export default function express({ substore: $, port }) {
|
||||
port = port || process.env.PORT || 3000;
|
||||
port = port || 3000;
|
||||
const { isNode } = ENV();
|
||||
const DEFAULT_HEADERS = {
|
||||
'Content-Type': 'text/plain;charset=UTF-8',
|
||||
|
||||
Reference in new issue
Block a user