@lexho111/plainblog 0.8.3 → 0.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,16 +27,16 @@ Now you can open your blog in your webbrowser on `http://localhost:8080`. Login
|
|
|
27
27
|
or with the BlogBuilder
|
|
28
28
|
|
|
29
29
|
```
|
|
30
|
+
import { BlogBuilder } from "@lexho111/plainblog";
|
|
30
31
|
const blog = new BlogBuilder()
|
|
31
32
|
.withTitle("Mein Blog")
|
|
32
33
|
.withStyle("body { font-family: Arial, sans-serif; } h1 { color: #333; }")
|
|
33
34
|
.withPassword("mypassword")
|
|
34
|
-
.withDatabase(adapter)
|
|
35
35
|
.build();
|
|
36
36
|
|
|
37
37
|
await blog.init();
|
|
38
38
|
|
|
39
|
-
await blog.startServer({ httpPort: 38080 });
|
|
39
|
+
await blog.startServer({ httpPort: 38080, httpsPort: 38443 });
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
## More Features
|