-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
49 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[workspace] | ||
members = ["sites/maps.ewpratten.com"] | ||
resolver = "2" |
17 changes: 0 additions & 17 deletions
17
sites/ewpratten.com/static/functions/.well-known/nodeinfo.js
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
sites/ewpratten.com/static/functions/.well-known/webfinger.js
This file was deleted.
Oops, something went wrong.
45 changes: 0 additions & 45 deletions
45
sites/ewpratten.com/static/functions/api/activitypub/nodeinfo.js
This file was deleted.
Oops, something went wrong.
46 changes: 0 additions & 46 deletions
46
sites/ewpratten.com/static/functions/api/activitypub/outbox.js
This file was deleted.
Oops, something went wrong.
44 changes: 0 additions & 44 deletions
44
sites/ewpratten.com/static/functions/api/activitypub/users/evan.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[package] | ||
name = "maps-ewpratten-com" | ||
version = "0.0.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
worker = { version = "0.4.2", feature = ["http"] } | ||
|
||
[profile.release] | ||
lto = true | ||
strip = true | ||
codegen-units = 1 | ||
|
||
[lib] | ||
crate-type = ["cdylib", "rlib"] | ||
|
||
[package.metadata.wasm-pack.profile.release] | ||
wasm-opt = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
#[worker::event(fetch)] | ||
pub async fn main(req: worker::Request, env: worker::Env, ctx: worker::Context) -> worker::Result<worker::Response> { | ||
worker::Response::ok("Test") | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name = "map-viewer" | ||
main = "build/worker/shim.mjs" | ||
compatibility_date = "2023-05-22" | ||
|
||
r2_buckets = [ | ||
{ binding = "MAP_TILES", bucket_name = "map-tiles" } | ||
] | ||
|
||
[build] | ||
command = "cargo install worker-build && worker-build --release" |