I know this may be a silly question but, how do I get “moralis-admin-cli” deploy to deploy the index.js file for my Next app rather than index.html from react?
Not sure what it the error, in case that is requires an index.hml, you could add an empty index.html.
There’s not really any error. When you do “npm run dev” on a next.js app it will open a server in your browser. All the pages are navigated using index.js or page.js.
So, I uploaded an empty index.html with “Hello” and Moralis deployed it successfully. However, when I try to navigate to something like moralis.server.com/thispage.js it shows the actually JS script and not the rendered HTML page how next.js app shows in local browser.
How do I get it to do that?