Mercurial Hosting > luan
view examples/blog/serve_and_backup.luan @ 1710:fc224a1bb6ea
add blog/serve_and_backup.luan
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 10 Jul 2022 17:52:19 -0600 |
parents | |
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")