aethex-forge/.replit
sirpiglr f0e5f40100 Add authentication to profile updates and dashboard requests
Introduce Bearer token authentication for the /api/profile/update endpoint, ensuring users can only modify their own profiles. Update the Dashboard to include the authentication token in all API requests, enhancing security and data integrity.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 35bff579-2fa1-4c42-a661-d861f25fa2b6
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/AJbgVVq
Replit-Helium-Checkpoint-Created: true
2025-12-04 09:19:42 +00:00

75 lines
1.2 KiB
Text

modules = ["nodejs-20", "web", "postgresql-16"]
[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.tasks]]
task = "workflow.run"
args = "Discord Bot"
[[workflows.workflow]]
name = "Start application"
author = "agent"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "npm run dev"
waitForPort = 5000
[workflows.workflow.metadata]
outputType = "webview"
[[workflows.workflow]]
name = "Discord Bot"
author = "agent"
[workflows.workflow.metadata]
outputType = "console"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "cd discord-bot && npm install && npm start"
[[ports]]
localPort = 5000
externalPort = 80
[[ports]]
localPort = 8044
externalPort = 3003
[[ports]]
localPort = 37363
externalPort = 3002
[[ports]]
localPort = 38557
externalPort = 3000
[[ports]]
localPort = 40437
externalPort = 3001
[deployment]
deploymentTarget = "autoscale"
run = ["node", "dist/server/production.mjs"]
build = ["npm", "run", "build"]
[userenv]
[userenv.shared]
DISCORD_MAIN_CHAT_CHANNELS = "1425114041021497454"