Gridsome build static pages

hello
you have to add a file called .env in your gridsome root with a single string:
process.env.GRIDSOME_STRAPI_URL=to your online url

on build gridsome will get variable for the url you set in .env file