mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-28 03:50:10 +00:00
Compare commits
2 Commits
35a0be6a2c
...
5ba40cd6f8
Author | SHA1 | Date | |
---|---|---|---|
5ba40cd6f8 | |||
456ca8592c |
4
api.go
4
api.go
@ -454,7 +454,9 @@ func (app *appContext) GetInvites(gc *gin.Context) {
|
|||||||
var address string
|
var address string
|
||||||
if app.config.Section("ui").Key("jellyfin_login").MustBool(false) {
|
if app.config.Section("ui").Key("jellyfin_login").MustBool(false) {
|
||||||
app.storage.loadEmails()
|
app.storage.loadEmails()
|
||||||
address = app.storage.emails[gc.GetString("jfId")].(string)
|
if addr := app.storage.emails[gc.GetString("jfId")]; addr != nil {
|
||||||
|
address = addr.(string)
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
address = app.config.Section("ui").Key("email").String()
|
address = app.config.Section("ui").Key("email").String()
|
||||||
}
|
}
|
||||||
|
@ -46,7 +46,7 @@ for bsv in [d for d in local_path.iterdir() if "bs" in d.name]:
|
|||||||
with open(css[i], "w") as f:
|
with open(css[i], "w") as f:
|
||||||
f.write(
|
f.write(
|
||||||
sass.compile(
|
sass.compile(
|
||||||
filename=str(scss[i].resolve()), output_style="expanded", precision=6
|
filename=str(scss[i].resolve()), output_style="expanded", precision=6, omit_source_map_url=True
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
if css[i].exists():
|
if css[i].exists():
|
||||||
|
Loading…
Reference in New Issue
Block a user