Skip to content

Commit cf17556

Browse files
committed
Merge branch 'dev' into patch-workflow
2 parents 6aa995c + 18fd8d5 commit cf17556

File tree

2 files changed

+11
-15
lines changed

2 files changed

+11
-15
lines changed

.github/labeler.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
1-
"needs review 👀":
2-
- src/**/*
3-
- public/*
4-
51
"documentation 📖":
62
- README.md
3+
- docs/**/*
74

85
"tooling 🔧":
96
- .github/**/*
10-
- src/scripts/*
11-
- src/lib/*
12-
- src/hooks/*
7+
- src/scripts/**/*
8+
- src/lib/**/*
9+
- src/hooks/**/*
10+
- .storybook/**/*
1311

1412
"dependencies 📦":
1513
- package.json
1614
- yarn.lock
1715

18-
"internal 🏠":
19-
- .all-contributorsrc
16+
"config ⚙️":
2017
- i18n.config.json
2118
- next.config.js
2219
- next-i18next.config,js
@@ -30,13 +27,14 @@
3027
- netlify.toml
3128

3229
"translation 🌍":
33-
- src/content/translations/**/*
30+
- public/content/translations/**/*
3431
- src/intl/**/*
35-
- src/lib/utils/translations.ts
32+
- !src/intl/en/**
3633

3734
"content 🖋️":
38-
- src/pages/*
35+
- src/intl/en/**
3936
- public/content/**/*
37+
- !public/content/translations/**/*
4038

4139
"event 📅":
4240
- src/data/community-events.json

src/middleware.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,11 @@ function detectLocale(acceptLanguage: string | null) {
2323

2424
export const config = {
2525
matcher: [
26+
"/", // explicit matcher for root route
2627
/*
2728
* Match all request paths except for the ones starting with:
2829
* - api (API routes)
2930
* - _next/static (static files)
30-
* - _next/image (image optimization files)
31-
* - favicon.ico (favicon file)
32-
* - .well-known (security files)
3331
*/
3432
"/((?!api|_next/static).*)",
3533
],

0 commit comments

Comments
 (0)