mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
various fixes of the blog demo.
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
var account = 'agentzh';
|
||||
//var host = 'http://10.32.24.13:1984';
|
||||
var host = 'http://localhost:1984';
|
||||
//var host = 'http://10.32.24.16:8080';
|
||||
var host = 'http://localhost:8080';
|
||||
//var host = 'http://api.eeeeworks.org';
|
||||
//var host = 'http://api.openresty.org';
|
||||
//var host = 'http://10.62.136.86';
|
||||
@ -42,6 +42,7 @@ function debug (msg) {
|
||||
$("#copyright").append(msg + "<br/>");
|
||||
}
|
||||
|
||||
|
||||
$.fn.postprocess = function (className, options) {
|
||||
return this.find("a[@href*='#']").each( function () {
|
||||
//debug("HERE!");
|
||||
|
@ -2,7 +2,7 @@
|
||||
drop table if exists posts;
|
||||
create table posts (
|
||||
id serial,
|
||||
title varchar(128) not null,
|
||||
title text not null,
|
||||
content text not null,
|
||||
author varchar(64) not null,
|
||||
created timestamp(0) default now() not null,
|
||||
|
@ -73,7 +73,7 @@
|
||||
<a href="site-binary.tar.gz">Compiled form (.tar.gz)</a>
|
||||
</li>
|
||||
<li class="module-list-item">
|
||||
<a target="_blank" href="http://github.com/agentzh/openresty/tree/8463c31834e1d007da26b8b6549e4d06b5963b70/demo/[% blog_owner == 'agentzh' ? "Blog" : "Blog2" %]/">
|
||||
<a target="_blank" href="http://github.com/agentzh/ngx_openresty/tree/master/demo/[% blog_owner == 'agentzh' ? "Blog" : "Blog2" %]/">
|
||||
Source code (Git)
|
||||
</a>
|
||||
</li>
|
||||
|
Reference in New Issue
Block a user