quasar dev command to use https
I am trying to get google auth working in my quasar app.
My google auth console will redirect the user to a https url (in my case I have set it to https://localhost:8080/auth/google
The problem is when I run the command ‘quasar dev’ on my local machine the urls are all http not https:
Can I provide a certificate to the ‘quasar dev’ command to run in https mode on my local machine?
Basically ‘quasar dev’ starts up an express server with webpack middleware. Take a look at ‘/build/script.dev.js’. This is the place where you need to make the necessary changes that you want for the Express server to run on HTTPS.
Here’s what I came up with. https://gist.github.com/RichAyotte/8243ebf768f059a634206a201f5c5851