Commit a2c79f7c authored by Liang Ding's avatar Liang Ding

#19

parent d772eb76
......@@ -155,6 +155,7 @@ public class StaticSiteProcessor {
String filePath = uri;
filePath = StringUtils.replace(filePath, "?", "/");
filePath = StringUtils.replace(filePath, "=", "/");
filePath += ".html";
FileUtils.forceMkdirParent(new File(staticSitePath + filePath));
final OutputStream outputStream = new FileOutputStream(staticSitePath + filePath);
String html = Mocks.mockRequest(uri);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment