Skip to content

Commit

Permalink
mv www --> view
Browse files Browse the repository at this point in the history
  • Loading branch information
B05BEE13.卢郴群 committed Jan 5, 2021
1 parent 2e019d2 commit 72993b4
Show file tree
Hide file tree
Showing 126 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/config/middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ module.exports = [
handle: 'resource',
enable: true,
options: {
root: path.join(think.ROOT_PATH, 'www'),
publicPath: /^\/(scripts|css|views|images|favicon\.ico)/
root: path.join(think.ROOT_PATH, 'view'),
publicPath: /^\/(scripts|css|views|images|admin\.jpg|favicon\.ico)/
}
},
{
Expand Down
14 changes: 7 additions & 7 deletions src/controller/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const Base = require('./base.js');

module.exports = class extends Base {
indexAction() {
return this.display();
}
};
const Base = require('./base.js');

module.exports = class extends Base {
async indexAction() {
await this.display("index.html");
}
};
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 72993b4

Please sign in to comment.