Skip to content

Commit 3c6e90b

Browse files
committed
router mode
1 parent 8b5c0fe commit 3c6e90b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ENG/ENG-03-Quick-Start.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ echo '<h1>Hello Drogon!</h1>' >>index.html
5959

6060
The default root path is `"./"`, but could also be modified by config.json. See [Configuration File](/ENG/ENG-11-Configuration-File) for more details. Then you can visit this page by URL `"http://localhost"` or`"http://localhost/index.html"` (or the IP of the server where your wepapp is running).
6161

62-
![Hello Drogon!](../images/hellodrogon.png)
62+
![Hello Drogon!](/images/hellodrogon.png)
6363

6464
If the server cannot find the the page you have requested, it returns a 404 page:
65-
![404 page](../images/notfound.png)
65+
![404 page](/images/notfound.png)
6666

6767
> **Note: Make sure your server firewall has allowed the 80 port. Otherwise, you won't see these pages.(Another way is to change your port from 80 to 1024(or above) in case you get the error message below):**
6868

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
</div>
2626
<script>
2727
window.$docsify = {
28+
routerMode: 'hash',
2829
coverpage: '_Cover.md',
2930
themeColor: '#1373b3',
3031
loadSidebar: '_Sidebar.md',

0 commit comments

Comments
 (0)