view examples/blog/serve_and_backup.luan @ 1831:8f9ae295bf6a default tip

add Hosted.authorize
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 26 Sep 2024 15:07:45 -0600
parents fc224a1bb6ea
children
line wrap: on
line source

require "java"
local BackupIndexWriter = require "java:goodjava.lucene.backup.BackupIndexWriter"
BackupIndexWriter.backupDomains = {"localhost"}

local Server = require "luan:http/Server.luan"
Server.serve("src")