-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dioxus_docker.toml
56 lines (37 loc) · 1006 Bytes
/
Dioxus_docker.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[application]
# App name
name = "Sudoku"
# The Dioxus platform to default to
default_platform = "web"
# `build` & `serve` output path
out_dir = "dist"
# The static resource path
asset_dir = "assets"
[web.app]
# HTML title tag content
title = "Sudoku in the Browser"
base_path = "."
[web.watcher]
# When watcher is triggered, regenerate the `index.html`
reload_html = true
# Which files or dirs will be monitored
watch_path = ["src", "assets"]
# Dioxus will serve the root page when a route is not found
index_on_404 = true
# Include style or script assets
[web.resource]
# CSS style file
style = ["./style.css"]
# Javascript code file
script = []
[web.resource.dev]
# Same as [web.resource], but for development servers
# If you want to include a file in a dx serve server,
# but not a dx serve --release server, put it here
# CSS style file
style = []
# JavaScript files
script = []
[[web.proxy]]
# Proxies will forward requests to a new service.
backend = "http://localhost:8000/api/"