Skip to content

Commit

Permalink
Merge pull request #404 from bannergress/add-preconnect-hints
Browse files Browse the repository at this point in the history
Add preconnect hints for API and Keycloak
  • Loading branch information
KirDE authored Oct 3, 2024
2 parents 1843d73 + 845b1f2 commit 8e587ba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@ jobs:
run: npm ci
- name: Run tests
run: npm run test
- name: Bild project
run: npm run build --if-present
- name: Build project
run: npm run build --if-present
env:
VITE_API_BASE_URL: dummy
VITE_KEYCLOAK_URL: dummy
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
<meta name="theme-color" content="#000000" />
<meta name="description" content="Bannergress" />

<link rel="preconnect" href="%VITE_API_BASE_URL%">
<link rel="preconnect" href="%VITE_KEYCLOAK_URL%">

<!-- generics favicons -->
<link rel="icon" href="/favicons/favicon-32.png" sizes="32x32">
<link rel="icon" href="/favicons/favicon-57.png" sizes="57x57">
Expand Down

0 comments on commit 8e587ba

Please sign in to comment.