add translate service
This commit is contained in:
4
index.js
4
index.js
@@ -154,6 +154,10 @@ app.use('/api/v1/ext', proxy('spiduler-external:32108', {
|
|||||||
filter: proxyFilter
|
filter: proxyFilter
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
app.use('/api/v1/translate', proxy('spiduler-external:32109', {
|
||||||
|
filter: proxyFilter
|
||||||
|
}));
|
||||||
|
|
||||||
app.get('/oauth/authorize', authorize)
|
app.get('/oauth/authorize', authorize)
|
||||||
|
|
||||||
app.get('/api/v1/oauth/token', grantToken)
|
app.get('/api/v1/oauth/token', grantToken)
|
||||||
|
|||||||
Reference in New Issue
Block a user