rename client-new to client and add README

This commit is contained in:
Matteo Pagliazzi 2016-09-14 16:43:11 +02:00
parent 6bddef6878
commit 33bcb40077
5 changed files with 5 additions and 2 deletions

View file

@ -3,7 +3,7 @@ node_modules/**
.bower-tmp/**
.bower-registry/**
website/client-old/**
website/client-new/**
website/client/**
website/views/**
website/build/**
test/**

3
website/client/README.md Normal file
View file

@ -0,0 +1,3 @@
This folder contains the source files for the new client side of that is being developed.
The old client side files can be found in /website/client-old, they are still used on Habitica.com while the redesign is in progress.

View file

@ -16,5 +16,5 @@ module.exports = function staticMiddleware (expressApp) {
expressApp.use(express.static(PUBLIC_DIR));
// Expose new client when not in production
if (!IS_PROD) expressApp.use('/new-app', express.static(`${PUBLIC_DIR}/../client-new`));
if (!IS_PROD) expressApp.use('/new-app', express.static(`${PUBLIC_DIR}/../client`));
};