diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 61bd4c6..0928718 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,6 +54,8 @@ jobs: - name: Tar static files run: | tar -czvf static-assets.tar.gz target/site + - name: Remove horizontal whitespace from hash.txt + run: tr -d ' ' < crates/www/target/debug/hash.txt > crates/www/target/debug/hash.txt - name: Publish GitHub Release id: gh-release uses: softprops/action-gh-release@v2 diff --git a/crates/www/src/main.rs b/crates/www/src/main.rs index d6bfe8a..1fc52bc 100644 --- a/crates/www/src/main.rs +++ b/crates/www/src/main.rs @@ -13,6 +13,9 @@ async fn main() { // Generate the list of routes in your Leptos App let routes = generate_route_list(App); + dbg!(std::env::var("CDN_PKG_PATH")); + dbg!(std::env::var("CDN_PATH")); + let app = Router::new() .leptos_routes(&leptos_options, routes, { let leptos_options = leptos_options.clone();