Skip to content

Commit

Permalink
add in unity-hack
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Sep 17, 2021
1 parent 954eca9 commit 188b692
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ const defaultSettings = {
dirs: true,
index: true,
scan: true,
unityHack: true,
extensions: ['html'],
recent: [],
};
Expand Down
4 changes: 4 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ <h2>A simple web server for local web development</h2>
<label for="cors">Set CORS headers</label>
<input type="checkbox" id="cors"/>
</div>
<div class="item checkbox">
<label for="unityHack">Support Unity</label>
<input type="checkbox" id="unityHack"/>
</div>
<div class="item checkbox">
<label for="ssl">Use HTTPS</label>
<input type="checkbox" id="ssl"/>
Expand Down

3 comments on commit 188b692

@Namsan
Copy link

@Namsan Namsan commented on 188b692 Feb 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you explain what did you do for unity webGL?
I have a problem that can not run unity webgl properly on azure app service.
If i uncheck box of "Support Unity" and run unity webgl, i face same issue console log with Servez.

Thanks.

@greggman
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Namsan
Copy link

@Namsan Namsan commented on 188b692 Feb 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks you for answer!

Have a good day!

Please sign in to comment.