Compare commits

...

2 Commits

Author SHA1 Message Date
20c4189599 feat(sdk,client): minify generated script
All checks were successful
arcad/edge/pipeline/head This commit looks good
2023-04-20 10:41:03 +02:00
c7b639b643 feat(cli,app): compress http responses
All checks were successful
arcad/edge/pipeline/head This commit looks good
2023-04-20 10:36:20 +02:00
4 changed files with 39 additions and 24609 deletions

View File

@ -51,6 +51,7 @@ pkg/sdk/client/dist/client.js: tools/esbuild/bin/esbuild node_modules
mkdir -p pkg/sdk/client/dist
tools/esbuild/bin/esbuild \
pkg/sdk/client/src/index.ts \
--minify \
--bundle \
--sourcemap \
--target=es2015 \

View File

@ -221,6 +221,7 @@ func runApp(ctx context.Context, path string, address string, storageFile string
router := chi.NewRouter()
router.Use(middleware.Logger)
router.Use(middleware.Compress(5))
// Add app handler
router.Handle("/*", handler)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long