Refactors client-side navigation to use `wouter`'s `setLocation` instead of `window.location.href` for smoother transitions and improves the logout process by making it an asynchronous POST request with proper error handling and state invalidation. Also adds an "Auctions" button to the main navigation bar on multiple pages. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 069d4324-6c40-4355-955e-c714a50de1ea Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/069d4324-6c40-4355-955e-c714a50de1ea/bLfICpO
55 lines
972 B
Plaintext
55 lines
972 B
Plaintext
modules = ["nodejs-20", "web", "postgresql-16"]
|
|
run = "npm run dev"
|
|
hidden = [".config", ".git", "generated-icon.png", "node_modules", "dist"]
|
|
|
|
[nix]
|
|
channel = "stable-24_05"
|
|
|
|
[deployment]
|
|
deploymentTarget = "autoscale"
|
|
build = ["npm", "run", "build"]
|
|
run = ["npm", "run", "start"]
|
|
|
|
[[ports]]
|
|
localPort = 5000
|
|
externalPort = 80
|
|
|
|
[[ports]]
|
|
localPort = 34047
|
|
externalPort = 3002
|
|
|
|
[[ports]]
|
|
localPort = 37531
|
|
externalPort = 3001
|
|
|
|
[[ports]]
|
|
localPort = 43349
|
|
externalPort = 3000
|
|
|
|
[env]
|
|
PORT = "5000"
|
|
|
|
[agent]
|
|
integrations = ["javascript_object_storage:1.0.0", "javascript_log_in_with_replit:1.0.0", "javascript_database:1.0.0"]
|
|
|
|
[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 = "npm run dev"
|
|
waitForPort = 5000
|