Skip to content

Commit 5701466

Browse files
committed
Merge branch 'ujjwalguptaofficial-master'
2 parents 347b9c4 + eaeb66c commit 5701466

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const app = express()
77
const port = 8080
88

99
let frameworkDirectory = path.join(__dirname, "..", "frameworks");
10+
let webDriverResultDirectory = path.join(__dirname, "..", "webdriver-ts-results");
1011

1112
if (process.argv.length===3) {
1213
console.log("Changing working directory to "+process.argv[2]);
@@ -93,6 +94,7 @@ function addSiteIsolationForIndex(request, response, next) {
9394
app.use(addSiteIsolationForIndex);
9495

9596
app.use('/frameworks', express.static(frameworkDirectory))
97+
app.use('/webdriver-ts-results', express.static(webDriverResultDirectory))
9698
app.use('/css', express.static(path.join(frameworkDirectory, '..', 'css')))
9799

98100
app.get('/ls', async (req, res) => {

0 commit comments

Comments
 (0)