aboutsummaryrefslogtreecommitdiff
path: root/static/api/index.js
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2025-11-14 21:55:59 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2025-11-14 21:55:59 +0100
commit3f18f02d07802d1fc705a500e5978a9b3cb2e751 (patch)
tree283970a2f5a693706456b853c550eeaa669b5d72 /static/api/index.js
parent351ad457f0ff95e20301a146b8c88a8f0f659aa1 (diff)
implement login
Diffstat (limited to 'static/api/index.js')
-rw-r--r--static/api/index.js13
1 files changed, 2 insertions, 11 deletions
diff --git a/static/api/index.js b/static/api/index.js
index 50b9b26..07b484d 100644
--- a/static/api/index.js
+++ b/static/api/index.js
@@ -1,11 +1,2 @@
-import * as sfw from 'sfw';
-const { Input } = sfw.element.native;
-
-export async function upload_images() {
- const input = Input.new({
- type: 'file',
- multiple: true,
- accept: 'image/jpeg',
- })
- input.click();
-}
+export * as images from './images.js';
+export * as auth from './auth.js';