fluxion-ts 0.1.1 → 0.1.3
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 +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
8
|
<a href="https://baendlorel.github.io/fluxion/">
|
|
9
|
-
<img src="
|
|
9
|
+
<img src="assets/fluxion.png" width="240px" alt="fluxion logo" />
|
|
10
10
|
</a>
|
|
11
11
|
</p>
|
|
12
12
|
|
|
@@ -106,12 +106,12 @@ With default options:
|
|
|
106
106
|
|
|
107
107
|
Examples:
|
|
108
108
|
|
|
109
|
-
| File
|
|
110
|
-
|
|
|
111
|
-
| `dynamicDirectory/test.ts`
|
|
109
|
+
| File | Route | Type |
|
|
110
|
+
| ---------------------------------- | ------------------ | ----------- |
|
|
111
|
+
| `dynamicDirectory/test.ts` | `/test.ts` | API handler |
|
|
112
112
|
| `dynamicDirectory/user/profile.ts` | `/user/profile.ts` | API handler |
|
|
113
|
-
| `dynamicDirectory/index.html`
|
|
114
|
-
| `dynamicDirectory/assets/app.js`
|
|
113
|
+
| `dynamicDirectory/index.html` | `/index.html` | Static file |
|
|
114
|
+
| `dynamicDirectory/assets/app.js` | `/assets/app.js` | Static file |
|
|
115
115
|
|
|
116
116
|
A request to `/hello` does not match `hello.ts`; request `/hello.ts` or change `apiExts`/routing behavior in code.
|
|
117
117
|
|