1
0
mirror of https://github.com/amir20/dozzle.git synced 2026-01-03 11:35:00 +01:00

Uses master instead of dev

This commit is contained in:
Amir Raminfar
2021-06-11 14:45:12 -07:00
parent 6c62699e2e
commit 282268639f
3 changed files with 3 additions and 3 deletions

View File

@@ -110,7 +110,7 @@ export default {
},
async created() {
const releases = await (await fetch("https://api.github.com/repos/amir20/dozzle/releases")).json();
if (this.currentVersion !== "dev") {
if (this.currentVersion !== "master") {
this.hasUpdate = gt(releases[0].tag_name, this.currentVersion);
} else {
this.hasUpdate = true;

View File

@@ -1,6 +1,6 @@
const config = JSON.parse(document.querySelector("script#config__json").textContent);
if (config.version == "{{ .Version }}") {
config.version = "dev";
config.version = "master";
config.base = "";
config.authorizationNeeded = false;
config.secured = false;

View File

@@ -21,7 +21,7 @@ import (
)
var (
version = "dev"
version = "head"
)
type args struct {