Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: test something #625

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion packages/backend/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ const ValidationAppError = require("./utils/validation-error");

const log = logger(module.filename);

app.use(helmet());
app.use(
helmet({
crossOriginEmbedderPolicy: false,
}),
);

const whitelist = [
config.frontUsagersDomain,
Expand Down
1 change: 1 addition & 0 deletions packages/frontend-bo/src/utils/fetchBackend.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export const $fetchBackend = (url, option = {}) => {
// eslint-disable-next-line no-undef
return $fetch(url, {
baseURL: config.public.backendUrl,
mode: "no-cors",
...option,
});
};
2 changes: 1 addition & 1 deletion packages/frontend-usagers/src/pages/connexion/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
>
<div class="fr-grid-row fr-grid-row-gutters fr-grid-row--center">
<div class="fr-col-12 fr-col-md-9 fr-col-lg-8">
<h1>Connexion à VAO</h1>
<h1>Connexion à VAO 2</h1>
<div>
<form id="login-1760">
<div
Expand Down
1 change: 1 addition & 0 deletions packages/frontend-usagers/src/utils/fetchBackend.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export const $fetchBackend = (url, option = {}) => {
// eslint-disable-next-line no-undef
return $fetch(url, {
baseURL: config.public.backendUrl,
mode: "no-cors",
...option,
});
};
Loading