Pārlūkot izejas kodu

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

Chris 2 gadi atpakaļ
vecāks
revīzija
b99dfbc29b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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
             // For local dev, the correct value for assetUrlPrefix should
             // be guessed correctly, but for production it will usually need
             // be guessed correctly, but for production it will usually need
             // to be set manually to match your production url.
             // 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 }),
         DefaultJobQueuePlugin.init({ useDatabaseForBuffer: true }),
         DefaultSearchPlugin.init({ bufferUpdates: false, indexStockStatus: true }),
         DefaultSearchPlugin.init({ bufferUpdates: false, indexStockStatus: true }),