Skip to content

Commit

Permalink
GH-2145 Fix static files directory name in the guide (Fix #2145)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzikoysk authored Jun 26, 2024
1 parent 7bc9356 commit 996fc3a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions reposilite-site/data/guides/features/static-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ title: Static files

Despite of content served by each repository,
Reposilite supports also static files.
By default, Reposilite creates `public` directory in workdir.
By default, Reposilite creates `static` directory in workdir.

```yaml
reposilite_working_directory/
public/
static/
index.html
# ...
```

Endpoints used to serve files located in `public` directory have the lowest priority.
Due to this fact, you cannot override routes registered by Reposilite using public files.
Endpoints used to serve files located in `static` directory have the lowest priority.
Due to this fact, you cannot override routes registered by Reposilite using static files.

#### Placeholders

Expand All @@ -30,7 +30,7 @@ Due to this fact, you cannot override routes registered by Reposilite using publ

#### Custom frontend

Using `public` directory you can implement frontend on your own.
Using `static` directory you can implement frontend on your own.
Because assets have lower priority,
you have to disable frontend in the local configuration file:

Expand Down

0 comments on commit 996fc3a

Please sign in to comment.