Skip to content

Commit 1cbf473

Browse files
Update injected params
1 parent 1dded05 commit 1cbf473

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

docs/INSTALL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ sudo docker run -d --restart unless-stopped \
6262
--dns=1.1.1.1 \
6363
-v /home/ubuntu/gbans/gbans.yml:/app/gbans.yml:ro \
6464
--name gbans \
65-
ghcr.io/leighmacdonald/gbans:v0.5.14
65+
ghcr.io/leighmacdonald/gbans:v0.6.0
6666
```
6767

6868
Substitute `/home/ubuntu/gbans/gbans.yml` with the location of your config.

frontend/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
<script>
3838
window.gbans = {
3939
build_version: "<%= build_version %>",
40+
discord_link_id: "<%= discord_link_id %>",
4041
}
4142
</script>
4243
<style>

frontend/vite.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import react from '@vitejs/plugin-react-swc';
33
import { defineConfig } from 'vite';
44
import { createHtmlPlugin } from 'vite-plugin-html';
55

6-
76
// https://vitejs.dev/config/
87
export default defineConfig({
98
base: '/',
@@ -48,8 +47,9 @@ export default defineConfig({
4847

4948
inject: {
5049
data: {
51-
title: 'gbans',
52-
build_version: 'v0.5.14'
50+
title: 'Uncletopia',
51+
build_version: 'v0.6.0',
52+
discord_link_id: 'caQKCWFMrN'
5353
}
5454
}
5555
})

0 commit comments

Comments
 (0)