Use environment-specific URLs instead of
...hard-coded ones
This commit is contained in:
parent
6ca5704c21
commit
1b05e63a20
76 changed files with 91 additions and 91 deletions
|
@ -8,7 +8,7 @@ tags:
|
|||
- astro
|
||||
---
|
||||
|
||||
As well as [fetching API data](https://www.oliverdavies.uk/archive/2023/02/08/fetching-api-data-with-astro), you can also use Astro to generate your own API endpoints.
|
||||
As well as [fetching API data]({{site.url}}/archive/2023/02/08/fetching-api-data-with-astro), you can also use Astro to generate your own API endpoints.
|
||||
|
||||
This is an example of an endpoint that I recently created as part of a demo application:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue