mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
use relative path
This commit is contained in:
parent
cd12841352
commit
8fde5df446
18 changed files with 147 additions and 32 deletions
|
@ -78,7 +78,7 @@ Click to install the following html5 apps:<br>
|
|||
<p>With the first approach, the html5 application is installed locally and can read any file allowed by the OS; while in the second approach, the html5 application can be either local or remote, and only files under the subfolder "app" can be accessed; The third approach allows easy access of other external resources (ex. local media).</p>
|
||||
<h4 id="open-local-files-with-html5-apps">Open local files with html5 apps</h4>
|
||||
<p>Click to configure <a href="../filecap/index.html">default.filecap</a> to open local files, and to open remote files with the option "custom file handling":<br>
|
||||
<a target="_self" href="i:0gdefault.filecap:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/filecap.cfg">use pdf.js,djvu.js,epub.js, huge markdown viewer for local files</a></p>
|
||||
<a target="_self" href="i:0gdefault.filecap:../../zh/searchurl/txt/filecap.cfg">use pdf.js,djvu.js,epub.js, huge markdown viewer for local files</a></p>
|
||||
<p>url examples are as follows:</p>
|
||||
<ul>
|
||||
<li>file:///data/user/0/info.torapp.uweb/files/app/pdfviewer.html?file=[path].pdf#page=[xxx]</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue