Mercurial Hosting > luan
comparison src/luan/modules/http/LuanDomainHandler.java @ 1562:b89212fd04b5
remove table.luan
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 08 Nov 2020 16:50:59 -0700 |
parents | 219f2b937f2b |
children | 8fbcc4747091 |
comparison
equal
deleted
inserted
replaced
1561:e1a13e707bf3 | 1562:b89212fd04b5 |
---|---|
37 return LuanFunction.NOTHING; | 37 return LuanFunction.NOTHING; |
38 } | 38 } |
39 }; | 39 }; |
40 try { | 40 try { |
41 LuanTable Http = (LuanTable)luan.require("luan:http/Http.luan"); | 41 LuanTable Http = (LuanTable)luan.require("luan:http/Http.luan"); |
42 Http.put( "domain", domain ); | 42 Http.put( luan, "domain", domain ); |
43 Http.put( "reset_luan", reset_luan ); | 43 Http.put( luan, "reset_luan", reset_luan ); |
44 } catch(LuanException e) { | 44 } catch(LuanException e) { |
45 throw new RuntimeException(e); | 45 throw new RuntimeException(e); |
46 } | 46 } |
47 return luan; | 47 return luan; |
48 } | 48 } |