@@ -186,8 +186,8 @@ rebar_erlydtl_opts(_) ->
186186rebar_deps (Flags ) ->
187187 BaseDeps =
188188 case maps :get (lfe , Flags ) of
189- true -> [" {nova, {git, \" https://github.com/novaframework/nova.git\" , {branch, \" chore/upgrade-cowboy \" }}},\n " , " {logjam, \" 1.2.4\" }" ];
190- false -> [" {nova, {git, \" https://github.com/novaframework/nova.git\" , {branch, \" chore/upgrade-cowboy \" }}},\n " , " {flatlog, \" 0.1.2\" }" ]
189+ true -> [" {nova, {git, \" https://github.com/novaframework/nova.git\" , {branch, \" feat/priv-dir-routes \" }}},\n " , " {logjam, \" 1.2.4\" }" ];
190+ false -> [" {nova, {git, \" https://github.com/novaframework/nova.git\" , {branch, \" feat/priv-dir-routes \" }}},\n " , " {flatlog, \" 0.1.2\" }" ]
191191 end ,
192192 KuraDep =
193193 case maps :get (kura , Flags ) of
@@ -623,7 +623,8 @@ generate_router(Name, #{arizona := true}) ->
623623 " _home_view), #{methods => [get]}},\n " ,
624624 " {\" /heartbeat\" , fun(_) -> {status, 200} end, #{methods => [get]}},\n " ,
625625 " {\" /live\" , arizona_nova_websocket, #{protocol => ws}},\n " ,
626- " {\" /assets/[...]\" , \" static/assets\" }\n " ,
626+ " {\" /assets/[...]\" , \" static/assets\" },\n " ,
627+ " {\" /arizona/[...]\" , {arizona_core, \" static/assets\" }}\n " ,
627628 " ]\n " ,
628629 " }\n " ,
629630 " ].\n "
@@ -1135,9 +1136,9 @@ generate_home_view(Name) ->
11351136 " {title, [], <<\" " ,
11361137 Name ,
11371138 " \" >>},\n " ,
1138- " {link, [{rel, <<\" stylesheet\" >>}, {href, <<\" /assets/css/ app.css\" >>}], []},\n " ,
1139+ " {link, [{rel, <<\" stylesheet\" >>}, {href, <<\" /assets/app.css\" >>}], []},\n " ,
11391140 " {script, [{type, <<\" module\" >>}], <<\"\"\"\n " ,
1140- " import Arizona from '/assets /js/arizona.min.js';\n " ,
1141+ " import Arizona from '/arizona /js/arizona.min.js';\n " ,
11411142 " globalThis.arizona = new Arizona();\n " ,
11421143 " arizona.connect('/live');\n " ,
11431144 " \"\"\" >>}\n " ,
0 commit comments