mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-06-07 00:46:58 +03:00
Added logo.svg remove when uploading
This commit is contained in:
parent
830d5a1c59
commit
7d3d3415ec
1 changed files with 1 additions and 0 deletions
|
@ -927,6 +927,7 @@ func UpdateBranding(db store.IStore) echo.HandlerFunc {
|
||||||
}
|
}
|
||||||
|
|
||||||
if logo_exist {
|
if logo_exist {
|
||||||
|
os.Remove(path.Join(db.GetPath(), "branding") + "/logo.svg")
|
||||||
os.Remove(path.Join(db.GetPath(), "branding") + "/logo.png")
|
os.Remove(path.Join(db.GetPath(), "branding") + "/logo.png")
|
||||||
os.Remove(path.Join(db.GetPath(), "branding") + "/logo.jpg")
|
os.Remove(path.Join(db.GetPath(), "branding") + "/logo.jpg")
|
||||||
os.Remove(path.Join(db.GetPath(), "branding") + "/logo.jpeg")
|
os.Remove(path.Join(db.GetPath(), "branding") + "/logo.jpeg")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue