alpha
Login
or
Join now
dunkirk.sh
/
smokie
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
bug: fix api not resolving sub
author
Kieran Klukas
date
1 year ago
(Apr 23, 2025, 6:00 PM -0400)
commit
94af4047
94af4047492f3ffd32f0ee7119d4820bd0bffa86
parent
636feb00
636feb0099f1683e6b5867eed696b4b42a02ed8b
+3
-1
1 changed file
Expand all
Collapse all
Unified
Split
src
index.ts
+3
-1
src/index.ts
Reviewed
···
59
59
development: environment === "dev",
60
60
async fetch(request: Request) {
61
61
const url = new URL(request.url);
62
62
-
const path = url.pathname;
62
62
+
const path = url.pathname.split("/").filter(Boolean)[0]
63
63
+
? `/${url.pathname.split("/").filter(Boolean)[0]}`
64
64
+
: "/";
63
65
64
66
switch (path) {
65
67
case "/":