From ed3a55508532fbaf6359abcc6e6a29192139cc9c Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 15 Nov 2019 14:28:34 -0500 Subject: move paths around a bit this seems more likely to work when building the published crate --- teleterm/src/web.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'teleterm/src/web.rs') diff --git a/teleterm/src/web.rs b/teleterm/src/web.rs index 5159233..1cf3a31 100644 --- a/teleterm/src/web.rs +++ b/teleterm/src/web.rs @@ -8,15 +8,15 @@ use lazy_static_include::*; lazy_static_include::lazy_static_include_bytes!( INDEX_HTML, - "../static/index.html" + "static/index.html" ); lazy_static_include::lazy_static_include_bytes!( TELETERM_WEB_JS, - "../target/wasm/teleterm_web.js" + "static/teleterm_web.js" ); lazy_static_include::lazy_static_include_bytes!( TELETERM_WEB_WASM, - "../target/wasm/teleterm_web_bg.wasm" + "static/teleterm_web_bg.wasm" ); pub fn router() -> impl gotham::handler::NewHandler { -- cgit v1.2.3-54-g00ecf