Skip to content

Commit

Permalink
prøver en ny vri
Browse files Browse the repository at this point in the history
  • Loading branch information
vebnor committed Mar 12, 2024
1 parent c953f8b commit 184decc
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV NODE_ENV production
WORKDIR /app

COPY ./dist ./dist
COPY ./nais/observability/faroConfig.js ./dist/nais.js
COPY ./src/app/nais.js ./dist/dev/nais.js
COPY ./node_modules ./node_modules
COPY server ./

Expand Down
2 changes: 1 addition & 1 deletion nais/k9-punsj-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
{{/each}}
frontend:
generatedConfig:
mountPath: /app/dist/nais.js
mountPath: /app/dist/dev/nais.js
ingresses:
{{#each ingresses as |url|}}
- {{url}}
Expand Down
2 changes: 1 addition & 1 deletion src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { Navigate, Route, Routes } from 'react-router-dom';
import { applyMiddleware, legacy_createStore } from 'redux';
import logger from 'redux-logger';
import { initializeFaro } from '@grafana/faro-web-sdk';
import faroConfig from '../../nais/observability/faroConfig';
import faroConfig from './nais';

import '@navikt/ds-css';
import '@navikt/ft-plattform-komponenter/dist/style.css';
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/build/webpack/webpack.config.global.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const webpackConfig = {
new webpack.EnvironmentPlugin({ SENTRY_RELEASE: null }),
],
externals: {
'../../../nais/observability/faroConfig.js': 'excludedFile',
'../../app/nais.js': 'excludedFile',
},
};

Expand Down

0 comments on commit 184decc

Please sign in to comment.