Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Commit e5a46f3

Browse files
committed
Merge branch 'master' of https://github.com/redpwn/rctf
2 parents 96ced5d + 7cca6a3 commit e5a46f3

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ We have designed rctf with the following attributes in mind:
1212

1313
## Main Features
1414

15-
* simple integration with redpwn's CTF deployment framework
15+
* simple integration with redpwn's [CTF deployment framework](https://gitlab.com/redpwn/redpwnctf-deployment)
1616
* dynamic scoring
1717

1818
## Installation

app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ const app = express()
66

77
app.use(bodyParser.json())
88

9+
app.use('/api', require(path.join(__dirname, '/server/api')))
10+
911
const staticPath = path.join(__dirname, '/static')
1012
app.use(express.static(staticPath, { extensions: ['html'] }))
1113

server/api/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
const express = require('express')
2+
const router = express.Router()
3+
4+
module.exports = router
File renamed without changes.

0 commit comments

Comments
 (0)