Skip to content

Commit f006ce6

Browse files
authored
Merge pull request #80 from TukaTek/feature/middleware/TUK-112
Feature/middleware/tuk 112
2 parents f48d982 + 52ef00f commit f006ce6

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ jira_test_env
2626
/deployment/data/nginx/app.conf
2727
*.sw?
2828
/backend/tests/regression/answer_quality/search_test_config.yaml
29-
venv/
29+
venv/web/.env.production

web/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
22
.env.sentry-build-plugin
3+
.env.production
34
# dependencies
45
/node_modules
56
/.pnp

web/src/lib/user.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const basicLogin = async (
4141
["password", password],
4242
]);
4343

44-
const response = await fetch("/api/auth/login", {
44+
const response = await fetch(`${process.env.NEXT_PUBLIC_INTERNAL_API_URL}/auth/login`, {
4545
method: "POST",
4646
credentials: "include",
4747
headers: {

0 commit comments

Comments
 (0)