-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: change sameSite option to strict
- Loading branch information
Showing
15 changed files
with
573 additions
and
251 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,3 +41,4 @@ jobs: | |
cp server/.env.example server/.env | ||
docker compose up -d | ||
- run: npm test | ||
- run: npm run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
NEXT_PUBLIC_FIREBASE_CONFIG={} | ||
NEXT_PUBLIC_AUTH_EMULATOR_URL=http://localhost:9099 | ||
NEXT_PUBLIC_GA_ID= |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,24 @@ | ||
require('dotenv').config({ path: '../server/.env' }); | ||
|
||
/** @type {import('next').NextConfig} */ | ||
module.exports = { | ||
reactStrictMode: true, | ||
pageExtensions: ['page.tsx'], | ||
basePath: | ||
process.env.GITHUB_REPOSITORY !== undefined | ||
? `/${process.env.GITHUB_REPOSITORY.split('/')[1]}` | ||
: '', | ||
output: 'export', | ||
trailingSlash: true, | ||
env: { | ||
API_BASE_PATH: process.env.API_BASE_PATH, | ||
FIREBASE_AUTH_EMULATOR_HOST: process.env.FIREBASE_AUTH_EMULATOR_HOST, | ||
}, | ||
transpilePackages: ['api', 'commonConstantsWithClient'], | ||
eslint: { ignoreDuringBuilds: true }, | ||
typescript: { ignoreBuildErrors: true }, | ||
...(process.env.NODE_ENV === 'development' | ||
? { | ||
rewrites: async () => [ | ||
{ | ||
source: `${process.env.API_BASE_PATH}/:path*`, | ||
destination: `http://localhost:31577${process.env.API_BASE_PATH}/:path*`, | ||
}, | ||
], | ||
} | ||
: { output: 'export' }), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../client/out |
Oops, something went wrong.