You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,13 +27,13 @@ serve ~/myproj
27
27
### Binaries
28
28
If you don't have Node.js installed just use a packaged version! Download it from the [release page](https://github.com/daquinoaldo/https-localhost/releases).
29
29
```
30
-
// Linux
30
+
# Linux
31
31
./https-localhost-linux ~/myproj
32
32
33
-
// MacOS
33
+
# MacOS
34
34
./https-localhost-macos ~/myproj
35
35
36
-
// Windows
36
+
# Windows
37
37
./https-localhost-win.exe C:\User\me\myproj
38
38
```
39
39
**Tip 1:** on Windows just drag the folder on the executable to serve itV.
@@ -48,7 +48,7 @@ npm i -s https-localhost
48
48
Then put in your `index.js` file:
49
49
```
50
50
const httpsLocalhost = require("https-localhost")
51
-
const app = httpLocalhost()
51
+
const app = httpsLocalhost()
52
52
// app is an express app, do what you usually do with express
0 commit comments