mirror of
https://github.com/Fluffy-Bean/TastyBites.git
synced 2025-01-15 11:05:21 +00:00
Update air config for browser reloading
This commit is contained in:
parent
795144aaa0
commit
f17ea51c01
|
@ -3,7 +3,7 @@ testdata_dir = "testdata"
|
||||||
tmp_dir = "tmp"
|
tmp_dir = "tmp"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
args_bin = ["run", "-host=127.0.0.1:8080"]
|
args_bin = ["run", "-host=127.0.0.1:3000"]
|
||||||
bin = "./tmp/main"
|
bin = "./tmp/main"
|
||||||
cmd = "go build -o ./tmp/main ."
|
cmd = "go build -o ./tmp/main ."
|
||||||
delay = 1000
|
delay = 1000
|
||||||
|
@ -44,3 +44,8 @@ tmp_dir = "tmp"
|
||||||
[screen]
|
[screen]
|
||||||
clear_on_rebuild = false
|
clear_on_rebuild = false
|
||||||
keep_scroll = true
|
keep_scroll = true
|
||||||
|
|
||||||
|
[proxy]
|
||||||
|
enabled = true
|
||||||
|
proxy_port = 8080
|
||||||
|
app_port = 3000
|
||||||
|
|
Loading…
Reference in a new issue