Skip to content
Snippets Groups Projects
Commit aa3e50a2 authored by Suhyeon Han's avatar Suhyeon Han
Browse files

Upload New File

parent e1e8327f
No related branches found
No related tags found
No related merge requests found
const express = require('express')
const server = express()
const path = require('path')
server.use(express.static(__dirname + '/public'))
server.use(
'/build/',
express.static(path.join(
__dirname,
'node_modules/three/build'
))
)
server.use(
'/jsm/',
express.static(path.join(
__dirname,
'node_modules/three/examples/jsm'
))
)
server.listen(
1337,
() => console.log('http://localhost:1337')
)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment