mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
* Add assets for plugins * Move plugin javascript and css into separate endpoints * Allow loading external scripts * Add csp overrides * Only include enabled plugins * Move URLMap to utils * Use URLMap for assets * Add documentation
17 lines
283 B
Go
17 lines
283 B
Go
package api
|
|
|
|
// https://stackoverflow.com/questions/40891345/fix-should-not-use-basic-type-string-as-key-in-context-withvalue-golint
|
|
|
|
type key int
|
|
|
|
const (
|
|
// galleryKey key = 0
|
|
performerKey key = iota + 1
|
|
sceneKey
|
|
studioKey
|
|
movieKey
|
|
tagKey
|
|
downloadKey
|
|
imageKey
|
|
pluginKey
|
|
)
|