mirror of
https://github.com/revanced/revanced-website.git
synced 2025-04-29 22:24:31 +02:00
feat: add env stuff
This commit is contained in:
parent
d628c6bb6b
commit
6c6ee206cb
3
.env.example
Normal file
3
.env.example
Normal file
@ -0,0 +1,3 @@
|
||||
RV_API_URL=
|
||||
RV_GOOGLE_TAG_MANAGER_ID=
|
||||
RV_DMCA_GUID=
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,4 @@
|
||||
node_modules
|
||||
node_modules/
|
||||
openapi.json
|
||||
|
||||
# Output
|
||||
|
@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
const RV_DMCA_GUID = 'test'; // TODO: replace later
|
||||
import { RV_DMCA_GUID } from '$env/static/public';
|
||||
|
||||
let refurl: string = $state('');
|
||||
$effect(() => {
|
||||
|
1
static/logo.svg
Normal file
1
static/logo.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><path fill="#fff" d="M253.85 4.9a3.5 3.5 0 0 0-3.2-4.9h-24.7a2.5 2.5 0 0 0-2.29 1.5L130.3 214.16a2.5 2.5 0 0 1-4.58 0L32.34 1.5a2.5 2.5 0 0 0-2.3-1.5H5.37a3.5 3.5 0 0 0-3.21 4.9c14.63 33.4 99.32 226.71 109.1 249a3.5 3.5 0 0 0 3.2 2.1h27.1a3.5 3.5 0 0 0 3.2-2.1z"/><path fill="#9ed5ff" d="M130.6 131.75a3 3 0 0 1-5.2 0L51.93 4.5a3 3 0 0 1 2.6-4.5h146.94a3 3 0 0 1 2.6 4.5z"/></svg>
|
After Width: | Height: | Size: 442 B |
@ -12,6 +12,9 @@ const config = {
|
||||
$lib: './src/lib',
|
||||
$types: './src/lib/types.d.ts',
|
||||
$stores: './src/lib/stores.ts'
|
||||
},
|
||||
env: {
|
||||
publicPrefix: 'RV'
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user