Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"dev:node": "tsx src/start-server.ts",
"dev:workerd": "wrangler dev src/index.ts",
"deploy": "wrangler deploy --minify src/index.ts",
"deploy:staging": "wrangler deploy --minify src/index.ts --env staging",
"pretty": "prettier --write \"./**/*.{js,jsx,ts,tsx,json}\"",
"build": "rollup -c",
"build-plugins": "tsx plugins/build.ts",
Expand Down
7 changes: 5 additions & 2 deletions wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ ENVIRONMENT = 'dev'
CUSTOM_HEADERS_TO_IGNORE = []

#
#Configuration for DEVELOPMENT environment
# Staging on a separate worker and custom domain.
#
[env.staging]
name = "rubeus-dev"
name = "rubeus-staging"
routes = [
{ pattern = "portkey-staging.pollinations.ai", custom_domain = true }
]

[env.staging.vars]
ENVIRONMENT = 'staging'
Expand Down
Loading