comparison 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
comparison
equal deleted inserted replaced
1709:6378d261136e 1710:fc224a1bb6ea
1 require "java"
2 local BackupIndexWriter = require "java:goodjava.lucene.backup.BackupIndexWriter"
3 BackupIndexWriter.backupDomains = {"localhost"}
4
5 local Server = require "luan:http/Server.luan"
6 Server.serve("src")