mirror of
https://github.com/TecharoHQ/anubis.git
synced 2025-08-02 17:28:27 -04:00

* style: fix formatting in .air.toml and installation.mdx * feat: add --strip-base-prefix flag to modify request paths when forwarding Closes: #638 * refactor: apply structpacking (betteralign) * fix: add validation for strip-base-prefix and base-prefix configuration * fix: improve request path handling by cloning request and modifying URL path * chore: remove integration tests as they are too annoying to debug on my system
13 lines
337 B
TOML
13 lines
337 B
TOML
root = "."
|
|
tmp_dir = "var"
|
|
|
|
[build]
|
|
cmd = "go build -o ./var/main ./cmd/anubis"
|
|
bin = "./var/main"
|
|
args = ["--use-remote-address"]
|
|
exclude_dir = ["var", "vendor", "docs", "node_modules"]
|
|
|
|
[logger]
|
|
time = true
|
|
# to change flags at runtime, prepend with -- e.g. $ air -- --target http://localhost:3000 --difficulty 20 --use-remote-address
|