Skip to content

Commit

Permalink
Merge remote-tracking branch 'wg-easy/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Dartegnian committed Feb 29, 2024
2 parents 46ababc + f963e7a commit 5c591d5
Show file tree
Hide file tree
Showing 11 changed files with 194 additions and 72 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ These options can be configured by setting environment variables using `-e KEY="
| `WG_POST_UP` | `...` | `iptables ...` | See [config.js](https://github.com/wg-easy/wg-easy/blob/master/src/config.js#L20) for the default value. |
| `WG_PRE_DOWN` | `...` | - | See [config.js](https://github.com/wg-easy/wg-easy/blob/master/src/config.js#L27) for the default value. |
| `WG_POST_DOWN` | `...` | `iptables ...` | See [config.js](https://github.com/wg-easy/wg-easy/blob/master/src/config.js#L28) for the default value. |
| `LANG` | `en` | `de` | Web UI language (Supports: en, ru, tr, no, pl, fr, de, ca, es, vi, nl, is,). |
| `LANG` | `en` | `de` | Web UI language (Supports: en, ru, tr, no, pl, fr, de, ca, es, vi, nl, is, chs, cht,). |

> If you change `WG_PORT`, make sure to also change the exposed port.
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
wg-easy-m3:
environment:
# Change Language:
# (Supports: en, ru, tr, no, pl, fr, de, ca, es)
# (Supports: en, ua, ru, tr, no, pl, fr, de, ca, es, pt, chs, cht)
- LANG=en
# ⚠️ Required:
# Change this to your host's public address
Expand Down
120 changes: 67 additions & 53 deletions src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions src/www/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -768,10 +768,6 @@ video {
height: 3rem;
}

.h-14 {
height: 3.5rem;
}

.h-2 {
height: 0.5rem;
}
Expand All @@ -784,10 +780,6 @@ video {
height: 0.75rem;
}

.h-32 {
height: 8rem;
}

.h-4 {
height: 1rem;
}
Expand Down
2 changes: 1 addition & 1 deletion src/www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ <h1 class="text-4xl font-medium my-16 text-gray-700 dark:text-neutral-200 text-c
<script src="./js/vendor/vue-i18n.min.js"></script>
<script src="./js/vendor/apexcharts.min.js"></script>
<script src="./js/vendor/vue-apexcharts.min.js"></script>
<script src="./js/vendor/sha512.min.js"></script>
<script src="./js/vendor/sha256.min.js"></script>
<script src="./js/vendor/timeago.full.min.js"></script>
<script src="./js/api.js"></script>
<script src="./js/i18n.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion src/www/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ new Vue({
const clients = await this.api.getClients();
this.clients = clients.map((client) => {
if (client.name.includes('@') && client.name.includes('.')) {
client.avatar = `https://www.gravatar.com/avatar/${sha512(client.name)}?d=blank`;
client.avatar = `https://gravatar.com/avatar/${sha256(client.name.toLowerCase().trim())}.jpg`;
}

if (!this.clientsPersist[client.id]) {
Expand Down
Loading

0 comments on commit 5c591d5

Please sign in to comment.