Explorar o código

chore: add cdn config

代强 %!s(int64=3) %!d(string=hai) anos
pai
achega
40e8a0e1d0
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      gatsby-config.js

+ 1 - 0
gatsby-config.js

@@ -1,6 +1,7 @@
 const path = require('path');
 module.exports = {
     pathPrefix: '/',
+    assetPrefix: `/${process.env['CDN_OUTER_CN']}/semi_main`,
     siteMetadata: {
         title: 'Gatsby Default Starter',
         description: 'Create a consistent, good-looking, easy-to-use, and efficient user experience with a user-centric, content-first, and human-friendly design system',