Fix send function headers error

This commit is contained in:
venashial
2022-06-25 13:08:20 -07:00
parent e9d7df8862
commit fb3a9f1f29
7 changed files with 35 additions and 22 deletions

View File

@@ -2,7 +2,7 @@
import { page } from '$app/stores'
import IconMenu from 'virtual:icons/lucide/menu'
const cleanPath = (it) => it.replace(/\.\.\/routes\/.*\//, '').replace('.md', '')
const cleanPath = (it: string) => it.replace(/\.\.\/routes\/.*\//, '').replace('.md', '')
const components = Object.keys(import.meta.glob('../routes/components/**'))
.map(cleanPath)

View File

@@ -16,6 +16,10 @@ Omorphia is used in [Knossos](https://github.com/modrinth/knossos) (modrinth.com
It uses [Svelte](https://svelte.dev/) to deliver the best performance with the least boilerplate.
## Try Omorphia online
You can try Omorphia online via [➜ **CodeSandbox** 💻](https://codesandbox.io/s/omorphia-starter-bsbgke).
## Getting started
Follow the instructions on the [➜ setup page 🛠️](/setup).
Follow the instructions on the [**setup page** 🛠️](/setup).