#Mocking HTTPS and URL

1 messages · Page 1 of 1 (latest)

zinc vesselBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

whole obsidian
#

so essentially you need an HTTPS endpoint that tunnels to your localhost dev server?

#

oh hey david didn't notice it was you lol

#

is it for webhook notifications? or something?

#

oh its just a redirect

stiff sparrow
#

What about using ngrok?

#

It will port forward from 80 or 443 (not sure), to the local 3000

#

The only issue is that the generated link will always change when you restart the ngrok

whole obsidian
#

mm yeah that could work

stiff sparrow
#

Thats the purpose of port forwarding

#

Forwarding from an external port that somebody wants to access, to a local port

stiff sparrow
#

Or you could buy VPS/VDS, and then use nginx

whole obsidian
#

decent enough for testing

stiff sparrow
whole obsidian
#

since it's for a redirect, booting up a simple github pages with just <script>window.href = "localhost:3000/";</script> might work lol

stiff sparrow
#

ofc

#

just change the link to the ngrok link

#

That's how I tested, it works both in dev and prod modes

zinc vesselBOT
#
✅ Success!

This question has been marked as answered! If you have any other questions, feel free to create another post

Jump to answer
stiff sparrow
#

Good job