lazi
WWasp-lang
•Created by lazi on 10/17/2024 in #🙋questions
How can I make my navbar dissapear on a specific page?
Y'all are awesome 😄
27 replies
WWasp-lang
•Created by lazi on 10/17/2024 in #🙋questions
How can I make my navbar dissapear on a specific page?
Now re-reading that, it says to position there TO BUILD the web app, not for deployment. I just didn't connect the dots that i might need to change the dir i'm in then run the netlify commands (pretty much first time Netlify user).
So it might be more of a me problem haha
27 replies
WWasp-lang
•Created by lazi on 10/17/2024 in #🙋questions
How can I make my navbar dissapear on a specific page?
27 replies
WWasp-lang
•Created by lazi on 10/17/2024 in #🙋questions
How can I make my navbar dissapear on a specific page?
( I was getting it working by just cd-ing into the web-app/build then running the netlify command. from web-app/ i was getting a path not found error thingy)
27 replies
WWasp-lang
•Created by lazi on 10/17/2024 in #🙋questions
How can I make my navbar dissapear on a specific page?
Found the issue!
It turns out the netlify.toml was NOT generating right.
[build] publish = ".wasp/build/web-app/build/" [[redirects]] from = "/*" to = "/index.html" status = 200 force = falseThis above is the originally generated one. Problem is I'm using the OpenSaaS so my publish path needed was
[build] publish = "app/.wasp/build/web-app/build/" [[redirects]] from = "/*" to = "/index.html" status = 200 force = falseAfter this everything worked just fine 😄
27 replies
WWasp-lang
•Created by lazi on 10/17/2024 in #🙋questions
How can I make my navbar dissapear on a specific page?
Thank you!
27 replies
WWasp-lang
•Created by lazi on 10/17/2024 in #🙋questions
How can I make my navbar dissapear on a specific page?
I haven't gotten to try these fixes but I will ASAP and report back ^_^
27 replies
WWasp-lang
•Created by lazi on 10/17/2024 in #🙋questions
How can I make my navbar dissapear on a specific page?
the client is hosted on netlify , backend on fly.io
27 replies
WWasp-lang
•Created by lazi on 10/17/2024 in #🙋questions
How can I make my navbar dissapear on a specific page?
@kapa.ai well, it's a page inside my website. I'm using fly.io to host the server side
27 replies
WWasp-lang
•Created by lazi on 10/17/2024 in #🙋questions
How can I make my navbar dissapear on a specific page?
@kapa.ai
I have a slight problem now, I have an "open" page but i can't access it via direct link to that path, i get a Page not found. It only works if I go through the landing page first. how can i make it work directly?
//#region Translator
route TranslatorRoute { path: "/translator", to: TranslatorPage }
page TranslatorPage {
component: import { TranslatorPage } from "@src/chatbot/TranslatorPage.tsx",
}
27 replies
WWasp-lang
•Created by lazi on 10/17/2024 in #🙋questions
How can I make my navbar dissapear on a specific page?
Nevermind, fixd it.
For future reference - It's from App.tsx, adding a new path to shouldDisplayAppNavBar
27 replies
WWasp-lang
•Created by lazi on 10/3/2024 in #🙋questions
Quickest way to locally host for public
@kapa.ai it's most likely the last variant - i'm using double ngrok setup. i only get 200 and 204 responses on server's log but I'm getting redirected after login which means onAuthFailedRedirectTo: "/login", .
36 replies
WWasp-lang
•Created by lazi on 10/3/2024 in #🙋questions
Quickest way to locally host for public
@kapa.ai nothing in my console, it just refreshes the page after login succesful and it's asking me to login again / i remain not logged in
36 replies
WWasp-lang
•Created by lazi on 10/3/2024 in #🙋questions
Quickest way to locally host for public
@kapa.ai 1,2,3 are fine but as you can see, after we login, even if it's 200, there's a EESTOPTIONS /auth/me 204 No Content
36 replies
WWasp-lang
•Created by lazi on 10/3/2024 in #🙋questions
Quickest way to locally host for public
@kapa.ai i tried the dual ngrok setup, my envs are in order, but auth is not working corectly: 16:39:00.460 EESTPOST /auth/email/login 200 OK 16:39:00.317 EESTOPTIONS /auth/email/login 204 No Content
Any fix ideas?
Any fix ideas?
36 replies
WWasp-lang
•Created by lazi on 10/3/2024 in #🙋questions
Quickest way to locally host for public
Yep indeed this was my problem initially - I managed to make it work with a double ngrok after all - the other error was due to my environment more than anything but got that fixed too.
Thank you for the help and keep up the great work, love wasp 🫶
36 replies
WWasp-lang
•Created by lazi on 10/3/2024 in #🙋questions
Quickest way to locally host for public
[ Wasp ] ../../../../src/user/operations.ts(62,3): error TS7006: Parameter 'context' implicitly has an 'any' type.
❌ --- [Error] Your wasp project failed to compile: -------------------------------
- SDK build failed with exit code: 2
❌ --- [Error] Compilation of wasp project failed: --------------------------------
1 errors found
@kapa.ai I changed back to an older version and now i can't start wasp anymore
36 replies
WWasp-lang
•Created by lazi on 9/11/2024 in #🙋questions
Locally hosting two wasp projects at once
I ended up hosting it on Fly/Netlify directly 😄
18 replies
WWasp-lang
•Created by lazi on 9/11/2024 in #🙋questions
Locally hosting two wasp projects at once
I'm kind of a noobie when it comes to networking - i'm simply running proof-of-concept prototypes and wanted to share with the team
18 replies
WWasp-lang
•Created by lazi on 9/11/2024 in #🙋questions
Locally hosting two wasp projects at once
Yep, different ports should do! I think the problem was that - i only have a single network interface
18 replies