Преглед изворни кода

fix(create): Add a slash at the end of assetUrl to avoid being ignored (#2605)

Chris пре 2 година
родитељ
комит
b99dfbc29b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/create/templates/vendure-config.hbs

+ 1 - 1
packages/create/templates/vendure-config.hbs

@@ -76,7 +76,7 @@ export const config: VendureConfig = {
             // For local dev, the correct value for assetUrlPrefix should
             // be guessed correctly, but for production it will usually need
             // to be set manually to match your production url.
-            assetUrlPrefix: IS_DEV ? undefined : 'https://www.my-shop.com/assets',
+            assetUrlPrefix: IS_DEV ? undefined : 'https://www.my-shop.com/assets/',
         }),
         DefaultJobQueuePlugin.init({ useDatabaseForBuffer: true }),
         DefaultSearchPlugin.init({ bufferUpdates: false, indexStockStatus: true }),