Shirakumo / radiance

A Common Lisp web application environment
https://shirakumo.github.io/radiance/
zlib License
311 stars 19 forks source link

Welcome page can't be removed after i startup radiance for many times? #54

Closed faywong closed 1 year ago

faywong commented 1 year ago

I follow https://shirakumo.github.io/radiance/ to get the radiance up. But whatever path i access(such as /auth/login), i will always see the welcome page given by r-welcome module. How can i removed the welcome page and make the api path worked as expected.

condition: i have installed all the radiance-contribs in my local-projects.

Shinmera commented 1 year ago

The login page is not on the path /auth/login, but rather on the subdomain auth and the path /login. Either set up a route to redirect /auth/login to auth./login, or use the standard redirect route /!/auth/login. This is explained in the lengthy tutorial linked from the main documentation pages.

faywong commented 1 year ago

Ok, i figure it out exactly. also i noticed that the module/ASDF package need to be loaded explicitly before it take effects through

(ql:quickload :r-simple-auth)

so

(radiance:list-modules)

is the available modules, and they need to be loaded explicitly before works. Sorry for i am new to common lisp.