node-atlas
Version:
Progressive realtime web framework config-driven or API-driven for building easily serverless files, websites and webapps component-based and service-oriented.
9 lines (8 loc) • 377 B
JavaScript
(function () {
var optionsSocket = ("%urlRelativeSubPath%" !== "") ? {
path: "/" + "%urlRelativeSubPath%" + ("%urlRelativeSubPath%" ? "/" : "") + "socket.io"
} : undefined;
window.NA = window.NA || {};
window.NA.io = io;
window.NA.socket = NA.io.connect(("%urlRelativeSubPath%" !== "") ? "%urlRoot%" : undefined, optionsSocket);
}());