fix the relative paths issue in the fullstack crates.io build (#2248)

This commit is contained in:
Evan Almloff authored and GitHub committed 2024-04-04 18:30:14 -07:00
1 parent 9c5e5f969f
commit c43bbe6aa5
2 files changed
+34 -1

No files matched your search

+2
View File
@@ -1,5 +1,7 @@
// Dioxus-CLI
// https://github.com/DioxusLabs/dioxus/tree/master/packages/cli
// NOTE: This is also used in the fullstack package at ../packages/fullstack/src/render.rs, if you make changes here, make sure to update the version in there as well
// TODO: Extract hot reloading with axum into a separate crate or use the fullstack hot reloading Axum extension trait here
(function () {
var protocol = window.location.protocol === "https:" ? "wss:" : "ws:";