all repos — caroster @ 1eff8c695a32beae4a1bd07c45c45ec05f27a0f4

[Octree] Group carpool to your event https://caroster.io

frontend/next.config.js (view raw)

 1const withPWA = require('next-pwa');
 2const {STRAPI_URL = 'http://localhost:1337'} = process.env;
 3
 4module.exports = withPWA({
 5  async rewrites() {
 6    return [
 7      {
 8        source: '/graphql',
 9        destination: `${STRAPI_URL}/graphql`,
10      },
11    ];
12  },
13  pwa: {
14    dest: 'public',
15  },
16  eslint: {
17    ignoreDuringBuilds: true,
18  },
19  typescript: {
20    ignoreBuildErrors: true,
21  },
22});