hytopia 0.1.20 → 0.1.21
Sign up to get free protection for your applications and to get access to all the features.
- package/boilerplate/assets/certs/README.md +2 -3
- package/boilerplate/index.ts +0 -11
- package/docs/server.hytopia.webserver.md +0 -33
- package/docs/server.webserver.md +0 -33
- package/examples/character-controller/assets/certs/README.md +2 -3
- package/examples/character-controller/index.ts +0 -1
- package/examples/entity-spawn/assets/certs/README.md +2 -3
- package/examples/entity-spawn/index.ts +0 -2
- package/examples/payload-game/assets/certs/README.md +2 -3
- package/examples/payload-game/index.ts +0 -5
- package/package.json +1 -1
- package/server.api.json +2 -66
- package/server.d.ts +0 -10
- package/server.js +57 -57
- package/docs/server.hytopia.webserver.enablelocalssl.md +0 -17
- package/docs/server.webserver.enablelocalssl.md +0 -17
@@ -1,17 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [server](./server.md) > [HYTOPIA](./server.hytopia.md) > [WebServer](./server.hytopia.webserver.md) > [enableLocalSSL](./server.hytopia.webserver.enablelocalssl.md)
|
4
|
-
|
5
|
-
## HYTOPIA.WebServer.enableLocalSSL() method
|
6
|
-
|
7
|
-
Enables SSL for local development. The server will be available at https://localhost:8080. This is intended for local development without a reverse proxy. Don't use it when using tunnels like ngrok.com that already handle SSL. Usage of this method will be ignored in production. Must be called in init function of [startServer()](./server.startserver.md)<!-- -->.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
enableLocalSSL(): void;
|
13
|
-
```
|
14
|
-
**Returns:**
|
15
|
-
|
16
|
-
void
|
17
|
-
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [server](./server.md) > [WebServer](./server.webserver.md) > [enableLocalSSL](./server.webserver.enablelocalssl.md)
|
4
|
-
|
5
|
-
## WebServer.enableLocalSSL() method
|
6
|
-
|
7
|
-
Enables SSL for local development. The server will be available at https://localhost:8080. This is intended for local development without a reverse proxy. Don't use it when using tunnels like ngrok.com that already handle SSL. Usage of this method will be ignored in production. Must be called in init function of [startServer()](./server.startserver.md)<!-- -->.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
enableLocalSSL(): void;
|
13
|
-
```
|
14
|
-
**Returns:**
|
15
|
-
|
16
|
-
void
|
17
|
-
|