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

Add hostname/IP support #359

Merged
merged 3 commits into from
Sep 30, 2013
Merged

Add hostname/IP support #359

merged 3 commits into from
Sep 30, 2013

Conversation

preeefix
Copy link
Contributor

Allows one to use multiple instances of NodeBB on the same port through different IPs.

Quinton Marchi and others added 2 commits September 28, 2013 03:55
Works from previous testing but I haven't tried this personal revision
of the code. Take it with a grain of salt.
Removed the two steps and made it default to 0.0.0.0, edited the
webserver.js to reflect the changes.
@julianlam
Copy link
Member

Sorry for the delay -- was watching the Breaking Bad finale.

Looks good to me. Will merge it tomorrow once I give it a sanity check.

Thanks @iamcardinal @BladeFarron !!

@ghost ghost assigned julianlam Sep 30, 2013
+ Regular expression for port during install
+ Minification for public/src/forum JS files
+ Minification for public/src/forum/admin JS files
@julianlam
Copy link
Member

Hi @iamcardinal I made the conscious decision not to include the /js files in /public/src/forum into the main client-side minifier array as they are intended to be loaded on-demand, in order to reduce file size.

Re: #358, I haven't decided exactly what I'm going to do, but it involves writing a method to dynamically detect the files in /public/src/forum and minifying them.

I'll merge your commits without the template-specific scripts in the minifier.

@julianlam julianlam merged commit 504e2aa into NodeBB:master Sep 30, 2013
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.

None yet

2 participants