Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "version": 2,
- "env": {
- "POSTGRESQL_URL": "@cfaa-postgresql-url-production",
- "BACKEND_URL": "@cfaa-backend-url-production",
- "FRONTEND_URL": "@cfaa-frontend-url-production"
- },
- "build": {
- "env": {
- "POSTGRESQL_URL": "@cfaa-postgresql-url-production",
- "BACKEND_URL": "@cfaa-backend-url-production",
- "FRONTEND_URL": "@cfaa-frontend-url-production"
- }
- },
- "builds": [
- {
- "src": "frontend/next.config.js",
- "use": "@now/next"
- },
- {
- "src": "backend/src/server.ts",
- "use": "@now/node",
- "config": { "maxLambdaSize": "50mb" }
- }
- ],
- "routes": [
- { "src": "/graphql", "dest": "/backend/src/server.ts" },
- {
- "src": "/(.*)",
- "dest": "/frontend/$1"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement