env check
This commit is contained in:
parent
5ecb37b40e
commit
928c40d757
|
@ -1,5 +1,6 @@
|
|||
<script>
|
||||
let text = '';
|
||||
const apiUrl = import.meta.env.VITE_API_URL;
|
||||
|
||||
async function createNote() {
|
||||
const response = await fetch('https://api.brz9.dev/notes', {
|
||||
|
@ -55,4 +56,6 @@
|
|||
{#each notes as note}
|
||||
<li>{note.Text}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<h4>Just to check, the current API endpoint is : {apiUrl}</h4>
|
Loading…
Reference in New Issue