diff --git a/.tci b/.tci index c018bc3..7b837b8 100755 --- a/.tci +++ b/.tci @@ -14,6 +14,6 @@ echo "rebuilding frontend" cd web CARGO_BUILD_JOBS=2 /opt/bin/trunk build --release --public-url 'https://dev.upub.social/web' echo "deploying frontend" -rm /srv/http/upub/dev/* -mv ./dist/* /srv/http/upub/dev/ +rm /srv/http/upub/dev/web/* +mv ./dist/* /srv/http/upub/dev/web/ echo "done" diff --git a/web/src/lib.rs b/web/src/lib.rs index 18e7dfa..cde0b8d 100644 --- a/web/src/lib.rs +++ b/web/src/lib.rs @@ -15,7 +15,7 @@ pub use auth::Auth; pub mod prelude; -pub const URL_BASE: &str = "https://upub.alemi.dev"; +pub const URL_BASE: &str = "https://dev.upub.social"; pub const URL_PREFIX: &str = "/web"; pub const URL_SENSITIVE: &str = "https://cdn.alemi.dev/social/nsfw.png"; pub const DEFAULT_AVATAR_URL: &str = "https://cdn.alemi.dev/social/gradient.png";