Skip to content

Commit

Permalink
Removed old implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed Feb 14, 2024
1 parent 3fb5fee commit cabf337
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
6 changes: 0 additions & 6 deletions src/Exceptionless.Web/ClientApp/src/hooks.client.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
import { Exceptionless, toError } from '@exceptionless/browser';

import { env } from '$env/dynamic/public';
const { __env = {} } = globalThis as unknown as { __env: typeof env };

// if we are in production, we will use the environment variables that were injected via docker configuration.
if (__env && import.meta.env.PROD) {
Object.assign(env, __env);
}

// If the PUBLIC_BASE_URL is set in local storage, we will use that instead of the one from the environment variables.
// This allows you to target other environments from your browser.
Expand Down
19 changes: 0 additions & 19 deletions src/Exceptionless.Web/ClientApp/static/runtime-env.js

This file was deleted.

0 comments on commit cabf337

Please sign in to comment.