-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into boards-collections
- Loading branch information
Showing
26 changed files
with
257 additions
and
59 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -2,16 +2,23 @@ PAYLOAD_MONGO_CONNECTION_STRING="mongodb://127.0.0.1/payload" | |
PAYLOAD_SECRET="verysecretkey" | ||
PAYLOAD_REVALIDATION_KEY="veryprivatekey" | ||
PAYLOAD_PORT=3001 | ||
# for LOCAL_DEVELOPMENT autologin setup, DO NOT USE IN PRODUCTION :) | ||
# default user setup, this user will be created if no users exist in the database | ||
# NOTE: this is only used for seeding data, not for autologin | ||
# if these are not set, the admin UI will ask for a user to be created on first login | ||
PAYLOAD_DEFAULT_USER_EMAIL=[email protected] | ||
PAYLOAD_DEFAULT_USER_PASSWORD=root | ||
|
||
# for LOCAL_DEVELOPMENT autologin setup, DO NOT USE THESE IN PRODUCTION :) | ||
#these should be set to the same values as the default user above | ||
PAYLOAD_PUBLIC_DEVELOPMENT_AUTOLOGIN_EMAIL=[email protected] | ||
PAYLOAD_PUBLIC_DEVELOPMENT_AUTOLOGIN_PASSWORD=root | ||
PAYLOAD_PUBLIC_LOCAL_DEVELOPMENT=true | ||
|
||
NEXT_REVALIDATION_KEY="veryprivatekey" | ||
|
||
PUBLIC_FRONTEND_URL="http://localhost:3000" | ||
SERVER_URL="http://localhost:3001" | ||
PUBLIC_ILMOMASIINA_URL="https://tik-ilmo-prod-app.azurewebsites.net" | ||
PUBLIC_SERVER_URL="http://localhost:3001" | ||
PUBLIC_ILMOMASIINA_URL="https://ilmo.tietokilta.fi" | ||
|
||
# variables required for Google OAuth 2.0, otherwise disabled | ||
#GOOGLE_OAUTH_CLIENT_ID= | ||
|
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
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
File renamed without changes.
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,13 @@ | ||
import type { NextRequest } from "next/server"; | ||
import { NextResponse } from "next/server"; | ||
// this is here for CDN probePath | ||
export function GET(_: NextRequest): NextResponse { | ||
return NextResponse.json( | ||
{ | ||
status: "ok", | ||
}, | ||
{ | ||
status: 200, | ||
}, | ||
); | ||
} |
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
File renamed without changes.
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
Oops, something went wrong.