-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.replit
More file actions
30 lines (24 loc) · 720 Bytes
/
.replit
File metadata and controls
30 lines (24 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
entrypoint = "index.html"
modules = ["web"]
[nix]
channel = "stable-24_11"
packages = ["static-web-server"]
[deployment]
publicDir = "/"
deploymentTarget = "static"
[workflows]
runButton = "Serve static"
[[workflows.workflow]]
name = "Serve static"
mode = "parallel"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = """
echo \"Serving HTML, open the Preview to see your output.
To see changes you make, you can hit the refresh button in the preview, you do \u001B[1mnot\u001B[0m have to stop and run again.
Console logs are available in the Preview devtools or your browser devtools.\" && static-web-server -w ./.config/static-web-server.toml
"""
waitForPort = 80
[[ports]]
localPort = 80
externalPort = 80