Adding most of the deploy stuff so I have it duplicated somewhere as I moved to a new datacentre.
Started thinking about threads and did some db crafting
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { encode, decode } from 'proquint'
|
||||
import { randomBytes } from 'crypto'
|
||||
|
||||
export async function load({ fetch, data, setHeaders, parent, depends}) {
|
||||
console.log("data")
|
||||
let r = randomBytes(4)
|
||||
console.log(r.toString("hex"))
|
||||
let d = encode(r)
|
||||
console.log(d)
|
||||
console.log(decode(d))
|
||||
}
|
||||
export const actions = {
|
||||
default: async({cookies, fetch, getClientAddress, locals, params, platform, request, route, setHeaders, url, isDataRequest}) => {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
<script lang="javascript">
|
||||
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title></title>
|
||||
<meta name="description" content="" />
|
||||
</svelte:head>
|
||||
|
||||
<section>
|
||||
|
||||
</section>
|
||||
|
||||
<style lang="scss">
|
||||
section {
|
||||
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user