Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Fix/silence some warnings (#841)
sarayourfriendfe24ec9bf6a4
diff --git a/nuxt.config.js b/nuxt.config.jsindex df6f1a1c3..a5d9b5a50 100644--- a/nuxt.config.js+++ b/nuxt.config.js@@ -170,7 +170,7 @@ export default {file: 'en.json',},...(locales ?? []),- ],+ ].filter((l) => Boolean(l.iso)),lazy: true,langDir: 'locales',defaultLocale: 'en',diff --git a/src/data/usage-data-service.js b/src/data/usage-data-service.jsindex 071ad556a..c8df16ea6 100644--- a/src/data/usage-data-service.js+++ b/src/data/usage-data-service.js@@ -14,7 +14,7 @@ const UsageDataService = {* @param {Parameters<typeof ApiService['post']>[1]} data*/post(endpoint, data) {- return ApiService.post(`analytics/${endpoint}`, data)+ return ApiService.post(`analytics/${endpoint}/`, data)},/**