Files
PortalAmixxam/.replit
wandermottasiqu f17ed3885d Checkpoint before assistant change: Configure the web server to properly direct outside traffic to the application
Adds port configurations to the .replit file, mapping external port 80 to local port 5000.

Replit-Commit-Author: Assistant
2025-06-08 20:26:05 +00:00

33 lines
549 B
Plaintext

modules = ["nodejs-20", "python-3.11"]
[nix]
channel = "stable-24_05"
[workflows]
runButton = "Project"
[[workflows.workflow]]
name = "Project"
mode = "parallel"
author = "agent"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "Portal Amixx Server"
[[workflows.workflow]]
name = "Portal Amixx Server"
author = "agent"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "python3 -m http.server 5000"
waitForPort = 5000
[deployment]
run = ["sh", "-c", "python3 -m http.server 5000"]
[[ports]]
localPort = 5000
externalPort = 80