Skip to content
Merged
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
2 changes: 1 addition & 1 deletion examples/linear/.env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GITHUB_CLIENT_ID= # From GitHub OAuth App
GITHUB_CLIENT_SECRET= # From GitHub OAuth App
APP_URL=http://localhost:3000
APP_URL=http://localhost:3001

# Generate with: openssl rand -hex 32
OAUTH_ENCRYPTION_KEY= # Required for OAuth state cookies
2 changes: 1 addition & 1 deletion examples/linear/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "vtz dev",
"dev": "vtz dev --port 3001",
"build": "vtz build",
"codegen": "vtz codegen",
"test": "vtz test",
Expand Down
2 changes: 1 addition & 1 deletion examples/linear/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default defineConfig({
},

webServer: {
command: 'vtz dev',
command: 'vtz dev --port 3001',
url: 'http://localhost:3001',
reuseExistingServer: !process.env.CI,
timeout: 30_000,
Expand Down
2 changes: 1 addition & 1 deletion examples/linear/src/api/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineAuth, github } from '@vertz/server';
import { access } from './access';
import { SEED_WORKSPACE_ID } from './schema';

const APP_URL = process.env.APP_URL ?? 'http://localhost:3000';
const APP_URL = process.env.APP_URL ?? 'http://localhost:3001';

export const auth = defineAuth({
session: { strategy: 'jwt', ttl: '15m', refreshTtl: '7d', cookie: { secure: false } },
Expand Down