mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 13:14:06 +01:00
Merge branch 'master' of http://github.com/fosscord/fosscord-server
This commit is contained in:
commit
ae5fd086a2
@ -1,8 +1,7 @@
|
|||||||
FROM alpine
|
FROM nikolaik/python-nodejs:latest
|
||||||
RUN apk add --update nodejs npm
|
|
||||||
WORKDIR /usr/src/fosscord-server/
|
WORKDIR /usr/src/fosscord-server/
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /usr/src/fosscord-server/bundle
|
WORKDIR /usr/src/fosscord-server/bundle
|
||||||
RUN npm run setup
|
RUN npm run setup
|
||||||
EXPOSE 3001
|
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/)
|
## [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