Mercurial Hosting > luan
view host/test/test_https.luan @ 2065:ffa02039a11a default tip
fix multipart content-type
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Tue, 18 Nov 2025 21:44:05 -0700 |
| parents | 546daa22aa39 |
| children |
line wrap: on
line source
local Luan = require "luan:Luan.luan" local error = Luan.error local do_file = Luan.do_file or error() local Io = require "luan:Io.luan" local uri = Io.uri or error() local Hosted = require "luan:host/Hosted.luan" local Logging = require "luan:logging/Logging.luan" local logger = Logging.logger "test_https" do_file "classpath:luan/host/https.luan" local is_https = true local domain = "https.s3.luan.software" local site_dir = uri("file:local") local luanhost_dir = uri("file:..") local dry_run = true site_dir.mkdir() Hosted.do_set_https(is_https,domain,site_dir,luanhost_dir,dry_run)
