Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .hintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": [
"development"
],
"hints": {
"no-inline-styles": "off"
}
}
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ After adding this line, remember to apply the changes by sourcing the file (e.g.
# Migrate SQLite files from Scribe-Data to MariaDB for use in Scribe-Server:
make build
make migrate
# Start Scribe-Server on your local host:
# Start Scribe-Server on http://localhost:8080/:
make run
```

Expand Down
5 changes: 5 additions & 0 deletions api/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,11 @@ func setupStaticFiles(r *gin.Engine) {
if _, err := os.Stat(faviconPath); err == nil {
r.StaticFile("/favicon.ico", faviconPath)
}

logoPath := filepath.Join(absPath, "static", "images", "ScribeServerLogoWhite.png")
if _, err := os.Stat(logoPath); err == nil {
r.StaticFile("/images/ScribeServerLogoWhite.png", logoPath)
}
}

// MARK: Server Startup
Expand Down
Loading
Loading