Spaces:
Running
Running
Upload start.mjs
Browse files
start.mjs
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
import { WebDAVServer } from "@filen/webdav"
|
4 |
|
5 |
const hostname = "0.0.0.0"
|
6 |
-
const port = 1900
|
7 |
const https = false
|
8 |
const server = new WebDAVServer({
|
9 |
hostname,
|
|
|
3 |
import { WebDAVServer } from "@filen/webdav"
|
4 |
|
5 |
const hostname = "0.0.0.0"
|
6 |
+
const port = process.env.PORT || 1900
|
7 |
const https = false
|
8 |
const server = new WebDAVServer({
|
9 |
hostname,
|