-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1470 from ThatConference/next/feature
Promote next/feature to production
- Loading branch information
Showing
4 changed files
with
11 additions
and
6 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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import { env } from '$env/dynamic/public'; | ||
import { version } from '$app/environment'; | ||
|
||
function configMissing(configKey) { | ||
const message = `Missing required public environment varable: ${configKey}`; | ||
|
@@ -7,8 +8,8 @@ function configMissing(configKey) { | |
|
||
export default { | ||
hostURL: env.PUBLIC_HOST_URL || 'https://that.us', | ||
nodeEnv: env.NODE_ENV, | ||
version: '3.2.1', | ||
nodeEnv: env.PUBLIC_VERCEL_ENV, | ||
version: version ?? '0.0.0.0', | ||
eventId: 'YWavA70szR8rxSwrLJaL', | ||
eventSlug: 'thatus/daily', | ||
api: { | ||
|
@@ -47,7 +48,7 @@ export const securityConfig = () => { | |
|
||
export const logging = { | ||
dsn: 'https://[email protected]/5357492', | ||
environment: env.NODE_ENV | ||
environment: env.PUBLIC_VERCEL_ENV | ||
}; | ||
|
||
export const debug = { | ||
|
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 |
---|---|---|
@@ -1,9 +1,11 @@ | ||
import { sequence } from '@sveltejs/kit/hooks'; | ||
import * as Sentry from '@sentry/sveltekit'; | ||
import { env } from '$env/dynamic/public'; | ||
|
||
Sentry.init({ | ||
dsn: 'https://[email protected]/5357492', | ||
tracesSampleRate: 1 | ||
tracesSampleRate: 1, | ||
environment: env.PUBLIC_VERCEL_ENV | ||
}); | ||
|
||
export const handleError = Sentry.handleErrorWithSentry(); | ||
|
b308772
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
that.us – ./
thatus-git-master-that-conference.vercel.app
origin.that.us
thatus-that-conference.vercel.app
that.us