forked from Aquaveo/cesium-vr
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tried to comply a bit with CesiumJS coding.
.editorconfig: copied from CesiumJS project. Reindented according to EditorConfig. Converted quotes into double quotes.
- Loading branch information
1 parent
622bbfb
commit 9bbe88b
Showing
4 changed files
with
260 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.glsl] | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
const Express = require('express'); | ||
const Morgan = require('morgan'); | ||
const Express = require("express"); | ||
const Morgan = require("morgan"); | ||
|
||
const PORT = 8001; | ||
|
||
const app = Express(); | ||
|
||
app.use(Morgan('common')); | ||
app.use(Morgan("common")); | ||
app.use(Express.urlencoded({ extended: true })); | ||
|
||
app.use('/', Express.static(__dirname + '/htdocs')); | ||
app.use('/src', Express.static(__dirname + '/src')); | ||
app.use('/cesium', Express.static(__dirname + '/node_modules/cesium/Build/CesiumUnminified')); | ||
app.get('/', (req, res) => { res.redirect('index.html'); }); | ||
app.use("/", Express.static(__dirname + "/htdocs")); | ||
app.use("/src", Express.static(__dirname + "/src")); | ||
app.use("/cesium", Express.static(__dirname + "/node_modules/cesium/Build/CesiumUnminified")); | ||
app.get("/", (req, res) => { res.redirect("index.html"); }); | ||
|
||
app.listen(PORT); |
Oops, something went wrong.