update download url
parent
e116e1b527
commit
8d0eb694ad
@ -1,7 +1,10 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import { env } from '$env/dynamic/private'
|
||||||
import { Button } from '$lib/components/ui/button'
|
import { Button } from '$lib/components/ui/button'
|
||||||
|
const url =
|
||||||
|
env.NODE_ENV === 'production'
|
||||||
|
? 'https://bybit.tzgyn.com'
|
||||||
|
: 'http://localhost:3000'
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Button href="http://localhost:3000/bybit.csv" download>
|
<Button href={url + '/bybit.csv'} download>Download</Button>
|
||||||
Download
|
|
||||||
</Button>
|
|
||||||
|
|||||||
Loading…
Reference in New Issue