mirror of
				https://github.com/mokuappio/serverless-invoices.git
				synced 2025-10-28 08:21:08 -04:00 
			
		
		
		
	set base url from vue config
This commit is contained in:
		| @ -15,7 +15,7 @@ const initialized = i18next.init({ | |||||||
|   fallbackLng: 'en', |   fallbackLng: 'en', | ||||||
|   whitelist: ['en', 'fr', 'et', 'fa', 'bn', 'es'], |   whitelist: ['en', 'fr', 'et', 'fa', 'bn', 'es'], | ||||||
|   backend: { |   backend: { | ||||||
|     loadPath: `${window.location.origin}/locales/{{lng}}/{{ns}}.json`, |     loadPath: `${process.env.BASE_URL}/locales/{{lng}}/{{ns}}.json`, | ||||||
|   }, |   }, | ||||||
|   detection: { |   detection: { | ||||||
|     order: ['querystring', 'path', 'localStorage', 'navigator'], |     order: ['querystring', 'path', 'localStorage', 'navigator'], | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user