mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-773: Restore missing static template/layout files.
The on-screen keyboard layouts and AngularJS templates were previously part of the Java webapp build, but are now part of the NPM/Webpack build. Those files were incorrectly left out of the Webpack config, causing the on-screen keyboard and automatic display resize to fail. Display of the on-screen keyboard fails without these files as it relies on loading the on-screen keyboard layouts dynamically via HTTP. Handling of automatic display resize fails because this relies on a hidden <object> element containing a blank HTML document, with that document served statically over HTTP.
This commit is contained in:
@@ -117,8 +117,10 @@ module.exports = {
|
||||
|
||||
// Copy static files to dist/
|
||||
new CopyPlugin([
|
||||
{ from: 'app/**/*' },
|
||||
{ from: 'fonts/**/*' },
|
||||
{ from: 'images/**/*' },
|
||||
{ from: 'layouts/**/*' },
|
||||
{ from: 'translations/**/*' }
|
||||
], {
|
||||
context: 'src/'
|
||||
|
Reference in New Issue
Block a user