diff --git a/my-blog/static/index.html b/my-blog/static/index.html
index cfa27aa..a8143ee 100644
--- a/my-blog/static/index.html
+++ b/my-blog/static/index.html
@@ -1,3 +1,3 @@
-
+
\ No newline at end of file
diff --git a/my-blog/templates/oauth-assets.html b/my-blog/templates/oauth-assets.html
index cfa27aa..a8143ee 100644
--- a/my-blog/templates/oauth-assets.html
+++ b/my-blog/templates/oauth-assets.html
@@ -1,3 +1,3 @@
-
+
\ No newline at end of file
diff --git a/oauth/src/config/app.ts b/oauth/src/config/app.ts
index 75cc100..5867468 100644
--- a/oauth/src/config/app.ts
+++ b/oauth/src/config/app.ts
@@ -53,10 +53,10 @@ function generateCollectionNames(host: string): { comment: string; user: string;
}
// Extract rkey from current URL
-// /posts/xxx.html -> xxx
+// /posts/xxx -> xxx
function extractRkeyFromUrl(): string | undefined {
const pathname = window.location.pathname;
- const match = pathname.match(/\/posts\/([^/]+)\.html$/);
+ const match = pathname.match(/\/posts\/([^/]+)\/?$/);
return match ? match[1] : undefined;
}