Skip to content

Commit edac825

Browse files
committed
Rename synchrophasotron9000 to prerender-user-profile-page
1 parent 3357677 commit edac825

File tree

7 files changed

+6
-5
lines changed

7 files changed

+6
-5
lines changed

vercel-functions/synchrophasotron9000.func/package-lock.json vercel-functions/prerender-user-profile-page.func/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vercel-functions/synchrophasotron9000.func/package.json vercel-functions/prerender-user-profile-page.func/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "synchrophasotron9000.func",
2+
"name": "prerender-user-profile-page",
33
"dependencies": {
44
"abortcontroller-polyfill": "^1.7.8",
55
"fastboot": "^4.1.5",

vercel.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
"buildCommand": "npm run build:vercel:dist && npm run build:vercel:functions",
33
"installCommand": "npm install --no-fund --no-audit",
44
"rewrites": [
5+
{ "source": "/prerender-user-profile-page", "destination": "/404" },
56
{ "source": "/submissions", "destination": "https://backend.codecrafters.io/submissions" },
67
{ "source": "/submissions/:match*", "destination": "https://backend.codecrafters.io/submissions/:match*" },
78
{ "source": "/progress/:match*", "destination": "https://backend.codecrafters.io/progress/:match*" },
8-
{ "source": "/users/:userName/:remainingPath*", "destination": "/synchrophasotron9000" },
9-
{ "source": "/users/:userName", "destination": "/synchrophasotron9000" },
9+
{ "source": "/users/:userName/:remainingPath*", "destination": "/prerender-user-profile-page" },
10+
{ "source": "/users/:userName", "destination": "/prerender-user-profile-page" },
1011
{ "source": "/:path*", "destination": "/_empty.html" }
1112
],
1213
"redirects": [

0 commit comments

Comments
 (0)