mirror of
https://github.com/urbit/developers.urbit.org.git
synced 2024-08-17 01:30:31 +03:00
api: add urbit.org staging
This commit is contained in:
parent
b7148b389b
commit
e7147084a4
@ -1,6 +1,6 @@
|
||||
export default async (req, res) => {
|
||||
const results = await fetch(
|
||||
`https://urbit.org/api/search?q=${req.query.q}`
|
||||
`https://urbit-5cl3gjdl1-urbit.vercel.app/api/search?q=${req.query.q}`
|
||||
).then((res) => res.json());
|
||||
res.statusCode = 200;
|
||||
res.setHeader("Content-Type", "application/json");
|
||||
|
Loading…
Reference in New Issue
Block a user