Migrating inQRCode.com from Ruby on Rails to static hosting
I often need to have a quick QR code generation from URLs. Really quick. For example, when I am teaching mobile web class, I demonstrate the code and put the QR code up on screen for students to scan into their mobile phones for testing.
That’s why I had written a tiny tool named inQRCode.com. I can append any URL to it. For example, when I was in https://example.com, I can simply prepend the tool URL into https://inQRCode.com/https://example.com to generate the QRCode for that.
_redirect file, I route every URL to
/* /index.html 200
That is how I migrated the inQRCode.com into static hosting.