mirror of
https://github.com/stashapp/stash.git
synced 2025-12-10 10:22:18 +01:00
Fix incorrect documentation in Plugins.md
This commit is contained in:
parent
37acd6b79b
commit
61bd9233b2
1 changed files with 2 additions and 2 deletions
|
|
@ -127,12 +127,12 @@ As an example, for a plugin with id `foo` with the following `assets` value:
|
|||
```
|
||||
assets:
|
||||
foo: bar
|
||||
root: .
|
||||
/: .
|
||||
```
|
||||
The following URLs will be mapped to these locations:
|
||||
`/plugin/foo/assets/foo/file.txt` -> `{pluginDir}/bar/file.txt`
|
||||
`/plugin/foo/assets/file.txt` -> `{pluginDir}/file.txt`
|
||||
`/plugin/foo/assets/bar/file.txt` -> `{pluginDir}/bar/file.txt` (via the `root` entry)
|
||||
`/plugin/foo/assets/bar/file.txt` -> `{pluginDir}/bar/file.txt` (via the `/` entry)
|
||||
|
||||
Mappings that try to go outside of the directory containing the plugin configuration file will be
|
||||
ignored.
|
||||
|
|
|
|||
Loading…
Reference in a new issue