Skip to content

Can I access the express handler of acebase-server and/or pass a custom express server to it? #16

Answered by appy-one
trenta3 asked this question in Q&A
Discussion options

You must be logged in to vote

Done, the Express app is now exposed through the app property on the server instance. See this commit

Example usage:

server.app.get('/hello', (req, res) => {
    res.send('Hi!');
});

Replies: 0 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@trenta3
Comment options

@trenta3
Comment options

Answer selected by trenta3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants