Update backend server to handle Webflow GraphQL endpoints and CSRF tokens, serve static files correctly, and use 0.0.0.0 host. Add a compatibility script for frontend Webflow e-commerce issues and update HTML files to include it. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 375ec6d3-d5af-4f82-ab81-5c60fd4a86a3 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 05dda85a-ad24-46c8-b27e-50c860b4dd57 Replit-Helium-Checkpoint-Created: true
39 lines
642 B
Plaintext
39 lines
642 B
Plaintext
modules = ["web", "nodejs-20"]
|
|
[agent]
|
|
expertMode = true
|
|
|
|
[nix]
|
|
channel = "stable-25_05"
|
|
|
|
[workflows]
|
|
runButton = "Project"
|
|
|
|
[[workflows.workflow]]
|
|
name = "Project"
|
|
mode = "parallel"
|
|
author = "agent"
|
|
|
|
[[workflows.workflow.tasks]]
|
|
task = "workflow.run"
|
|
args = "Start application"
|
|
|
|
[[workflows.workflow]]
|
|
name = "Start application"
|
|
author = "agent"
|
|
|
|
[[workflows.workflow.tasks]]
|
|
task = "shell.exec"
|
|
args = "cd backend && npm start"
|
|
waitForPort = 5000
|
|
|
|
[workflows.workflow.metadata]
|
|
outputType = "webview"
|
|
|
|
[[ports]]
|
|
localPort = 5000
|
|
externalPort = 80
|
|
|
|
[deployment]
|
|
deploymentTarget = "autoscale"
|
|
run = ["bash", "-c", "cd backend && npm start"]
|