diff --git a/bigbluebutton-html5/.gitignore b/bigbluebutton-html5/.gitignore index a1e3d9d369..bbb197c9a6 100755 --- a/bigbluebutton-html5/.gitignore +++ b/bigbluebutton-html5/.gitignore @@ -4,5 +4,6 @@ node_modules/ .meteor/dev_bundle public/locales/de_DE.json public/locales/ja_JP.json +public/files diff --git a/bigbluebutton-html5/package.json b/bigbluebutton-html5/package.json index 740434bcc2..45f7235c50 100644 --- a/bigbluebutton-html5/package.json +++ b/bigbluebutton-html5/package.json @@ -13,7 +13,8 @@ "test-visual-regression:recording": "export WITH_RECORD=true;export REGRESSION_TESTING=true;env $(cat ../bigbluebutton-tests/puppeteer/.env | xargs) jest all.test.js --color --detectOpenHandles --forceExit", "lint": "eslint . --ext .jsx,.js", "lint:file": "eslint", - "preinstall": "npx npm-force-resolutions" + "preinstall": "npx npm-force-resolutions", + "postinstall": "mkdir -p public/files; cp node_modules/@fontsource/*/files/*.woff public/files/; cp node_modules/@fontsource/*/files/*.woff2 public/files/" }, "meteor": { "mainModule": { diff --git a/build/packages-template/bbb-html5/bbb-html5.nginx b/build/packages-template/bbb-html5/bbb-html5.nginx index 45b03f982c..00328bb6dd 100644 --- a/build/packages-template/bbb-html5/bbb-html5.nginx +++ b/build/packages-template/bbb-html5/bbb-html5.nginx @@ -28,6 +28,10 @@ location /html5client/fonts { alias /usr/share/meteor/bundle/programs/web.browser/app/fonts; } +location /html5client/files { + alias /usr/share/meteor/bundle/programs/web.browser/app/files; +} + location /html5client/wasm { types { application/wasm wasm;