I need to change it, but it only appears when the game is exported localy.
I want to connect API with my game, and it is only done in index.html, api works when index is edited localy, but i want to change it in editor, its pretty annoying to export the game each time i want to make a change. thank you.
That file gets generated when you download a PlayCanvas build. In editor you don’t have access to it, it’s being loaded automatically by the PlayCanvas servers whenever you launch.
Either way I would advice that you add your custom code to a separate .html or .js file. You can check the following examples on how to add custom HTML code: