Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
eriandev committed May 7, 2023
1 parent 5d915af commit 4b19832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/api/weather/[endpoint]/+server.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export async function GET ({ url, params, getClientAddress }) {
const isNotAvailableEndpoint = !AVAIBLE_ENDPOINTS.includes(endpoint)

if (isNotFromAppItself) {
return response(null, 418)
return response({ BASE_URL, origin: url.origin }, 418)
}

if (isNotAvailableEndpoint) {
Expand Down

1 comment on commit 4b19832

@vercel
Copy link

@vercel vercel bot commented on 4b19832 May 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

weather-app – ./

weather-app-git-main-eriandev.vercel.app
eriandev-weather-app.vercel.app
weather-app-eriandev.vercel.app

Please sign in to comment.