From b6c758f2fc2cb502ed194f2700e033564f2521f4 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Tue, 22 Sep 2015 12:06:13 +0800 Subject: Added server option "useCdn", use template statement to route resources' source --- public/views/head.ejs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'public/views/head.ejs') diff --git a/public/views/head.ejs b/public/views/head.ejs index 0518ebc7..816c2a26 100644 --- a/public/views/head.ejs +++ b/public/views/head.ejs @@ -7,8 +7,15 @@ <%- title %> +<% if(useCDN) { %> + + + +<% } else { %> + +<% } %> @@ -20,7 +27,6 @@ - -- cgit v1.2.3