question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

regex for random ngrok.io sites

See original GitHub issue

Sorry about this issue. I am trying to use CORS_ALLOWED_ORIGIN_REGEXES to whitelist any ngrok.io address. The generated ngrok.io address is like this: https://da457438d47.ngrok.io. I tried to use the following regex: r"^https://\w+\.ngrok\.io$", but still getting CORS issues. If I whitelist the site using CORS_ALLOWED_ORIGINS, then it works.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
mohmyocommented, Jan 19, 2021

I was using 3.4.0 and had the same issue as it was discussed here, upgraded to 3.6.0 and everything is working as expected now.

1reaction
aasutosshcommented, Sep 7, 2020

I just checked, it’s the same as the address I wrote in above comment. https://da457438d47.ngrok.io

Read more comments on GitHub >

github_iconTop Results From Across the Web

RegEX for finding a random lowercase alphanumeric string ...
Is it possible to create a regex that does this? The ngrok URL is created randomly, but it always have the . ngrok.io...
Read more >
Automated Malware Analysis Report for http://ngrok.io
General Information ; Sample URL: http://ngrok.io ; Analysis ID: 339139.
Read more >
How to Test Your Universal Links Locally (iOS) - Bam Tech
ngrok is a tool that allows you to expose publicly your machine on a random domain. Install it and simply type ./ngrok http...
Read more >
Regex For Matching Urls, Useful To Auto-Linkify Raw Text
Regex for matching URLs, useful to auto-linkify raw text: ... random numbers. branchprediction. site. wasm. explanations. desing. platform engineer.
Read more >
Test webhook/callback on your local environment - Han.Mir
Every time the ngrok runs, it generates the random computer name. i.e. https://236168b0.ngrok.io. If you want a reserved address, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found