Skip to content

Commit 7a8634e

Browse files
furestfurest
andauthored
add support for static_configs in swboot (#430)
Co-authored-by: furest <furest@furest.be>
1 parent 24f4d65 commit 7a8634e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

modules/swbootd/templates/config.py.erb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ static_files = {}
5353
for sf in yaml_conf['static_files']:
5454
static_files.update(sf)
5555

56+
# Folder containing static configurations to be served as-is by switchboot (ACCESS;)
57+
static_configs = None
58+
if 'static_configs' in yaml_conf:
59+
static_configs = yaml_conf['static_configs']
5660

5761
# ===============================================================
5862
# Do not change below this if you do not know what you're doing!

0 commit comments

Comments
 (0)