This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-01-16
Channels
- # announcements (2)
- # babashka (51)
- # beginners (165)
- # biff (39)
- # clara (1)
- # clj-kondo (20)
- # cljsrn (6)
- # clojure (64)
- # clojure-belgium (11)
- # clojure-conj (2)
- # clojure-europe (12)
- # clojure-nl (3)
- # clojure-norway (7)
- # clojure-uk (6)
- # clojurescript (11)
- # conf-proposals (1)
- # conjure (1)
- # core-async (19)
- # cursive (6)
- # data-science (16)
- # datomic (6)
- # deps-new (4)
- # fulcro (60)
- # funcool (3)
- # graalvm (9)
- # helix (14)
- # introduce-yourself (4)
- # jobs-discuss (13)
- # joyride (1)
- # kaocha (2)
- # malli (12)
- # off-topic (25)
- # polylith (9)
- # portal (3)
- # practicalli (1)
- # rdf (43)
- # re-frame (7)
- # reagent (5)
- # releases (5)
- # remote-jobs (8)
- # sci (5)
- # shadow-cljs (42)
- # squint (6)
- # xtdb (5)
Hello, when I configure
:dev-http
{8280 "resources/public"}
I have to use http://localhost:8280. Is there any way to configure the response with http://localhost:8280/somethig ?what would it respond with? I mean it'll respond with the index.html contents by default?
Hello, I'd like to use something like http:://localhost:8280/app because I have all the time changing my index.html for local dev to <base href="/"> and for production <base href="/app/">
I want to use shadow-cljs server but with different base path like http://localhost:8280/app and not http://localhost:8280/
and I don't understand what the problem is? like what is not working now? what is stopping you from opening this url?
to shadow-cljs serve with this path -> http://localhost:8280/app
I'm still completely lost and do not understand your question? the config you have above is fine. Just open http://localhost:8280/app? I don't get it
oh, now I understand what you mean, but I don't want to create the resource/public/app
folder
ok, I'm entirely lost. open http://localhost:8280/app with the config above. what do you get? what else do you expect?
I do not understand the question, so please help me understand what is currently not working
YOU control the URL you open in the browser. so just open http://localhost:8280/app and be done with it? what is the thing I'm missing here?
Sorry about my "miss" explaining. In production enviroment is in reverse proxy with this this path
. So, I have to use in index.html
<base href="/app/">
to all the links works. Ok until now?
so you are not actually asking about index.html
. you are asking about additional assets like the .js
files or images?
but when I'm in local enviroment, I have to use index.html
<base href="/">
, to use with this config :dev-http {8280 "resource/public"}
.