Use official version of default_base_frame.html

This commit is contained in:
Wei Ouyang 2021-04-07 10:05:27 +00:00
parent 2a8536c386
commit ab2523e231
2 changed files with 1 additions and 16 deletions

View file

@ -1,15 +0,0 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript"
onload="loadImJoyRPCByQueryString().then((imjoyRPC)=&gt;{imjoyRPC.waitForInitialization({target_origin: &#39;*&#39;})})"
src="https://lib.imjoy.io/imjoy-loader.js"></script>
<script src="https://lib.imjoy.io/imjoy-rpc.min.js"></script>
<style>
body {
overscroll-behavior: contain;
}
</style>
</head>
<body></body>
</html>

View file

@ -127,7 +127,7 @@ export default {
// however, some browser features won't work (e.g. webrtc)
// unless we explicitly set `base_frame` in the plugin to
// https://lib.imjoy.io/default_base_frame.html
default_base_frame: '/http_base_frame.html',
default_base_frame: 'http://lib.imjoy.io/default_base_frame.html',
imjoy_api: {
async showDialog(plugin, config, exta_config) {
return await imjoy.pm.createWindow(plugin, config, exta_config);