mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-24 11:22:31 +01:00
Merge branch 'master' of http://github.com/fosscord/fosscord-server
This commit is contained in:
commit
e4a9b332e7
@ -1,8 +1,7 @@
|
||||
FROM alpine
|
||||
RUN apk add --update nodejs npm
|
||||
FROM nikolaik/python-nodejs:latest
|
||||
WORKDIR /usr/src/fosscord-server/
|
||||
COPY . .
|
||||
WORKDIR /usr/src/fosscord-server/bundle
|
||||
RUN npm run setup
|
||||
EXPOSE 3001
|
||||
CMD [ "npm", "run", "start:bundle" ]
|
||||
CMD [ "npm", "run", "start:bundle" ]
|
||||
|
@ -32,3 +32,4 @@ This repository contains:
|
||||
|
||||
## [Setup](https://docs.fosscord.com/setup/server/)
|
||||
|
||||
- [Download](https://github.com/fosscord/fosscord-server/releases)
|
||||
|
10
api/src/routes/oauth2/tokens.ts
Normal file
10
api/src/routes/oauth2/tokens.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import { Router, Request, Response } from "express";
|
||||
import { route } from "@fosscord/api";
|
||||
const router = Router();
|
||||
|
||||
router.get("/",route({}), async (req: Request, res: Response) => {
|
||||
//TODO
|
||||
res.json([]);
|
||||
});
|
||||
|
||||
export default router;
|
Loading…
Reference in New Issue
Block a user