diff options
| author | Shulhan <ms@kilabit.info> | 2026-02-08 15:50:46 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-02-08 16:12:42 +0700 |
| commit | 92f24cfe94e74c5cd6c58330a8eef1ca0ff5aced (patch) | |
| tree | 86f33a770095a899630ccfb71a5c8e797088bded /internal/internal.go | |
| parent | 54d395f53e344a3cf3861c0e3d2f82ad14ecc602 (diff) | |
| download | awwan-92f24cfe94e74c5cd6c58330a8eef1ca0ff5aced.tar.xz | |
internal: include the robots.txt from _wui/doc/ and _wui/ directory
The robots.txt in _wui/doc/ is for awwan.org, while in _wui/ is for
tour.awwan.org.
This remove the unneeded robots.txt from _tour/ directory that we
previously assume for tour.
Diffstat (limited to 'internal/internal.go')
| -rw-r--r-- | internal/internal.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/internal.go b/internal/internal.go index ceef650..f185a6c 100644 --- a/internal/internal.go +++ b/internal/internal.go @@ -271,7 +271,7 @@ func initMemfsWui() (err error) { var mfsOpts = &memfs.Options{ Root: `_wui`, Includes: []string{ - `.*\.(css|js|html|jpg|png|ico)$`, + `.*\.(css|js|html|jpg|png|ico|txt)$`, }, Excludes: []string{ `.*\.(adoc|json|yaml)$`, |
