Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: express static content path and upgrade express to v4 #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mikaello
Copy link

Fixed path to static content in app.js (which is using Express.js).

Upgrade Express.js from v3 to v4, which had some small breaking changes (most notable is that we now need to install all middleware explicitly). See Migrating from 3.x to 4.x for more info.

I tried to upgrade the Bootstrap less code to v3 with latest from bootstrap-less, but that was not successful and broke the interface. Bootstrap has since migrated to Sass, so we are not able to use latest version of Bootstrap anyway, but that is OK I guess.

@@ -558,13 +558,13 @@
.core (@gridColumnWidth, @gridGutterWidth) {

.spanX (@index) when (@index > 0) {
(~".span@{index}") { .span(@index); }
//(~".span@{index}") { .span(@index); } // not allowed in less-middleware > 1
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Visual inspection of the generated webpage does not seem affected of removing these lines of Less code.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, it seems it can be solved in this way: ept#18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant