mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
Fix rebase error
This commit is contained in:
parent
d7c1360cc7
commit
124fbf9b6d
@ -9,10 +9,7 @@ const sharedSecret = '12312Random';
|
||||
unleash
|
||||
.start({
|
||||
databaseUrl: 'postgres://unleash_user:passord@localhost:5432/unleash',
|
||||
<<<<<<< HEAD
|
||||
enableLegacyRoutes: false,
|
||||
=======
|
||||
>>>>>>> 0681945... Document how to secure client api #231
|
||||
preRouterHook: app => {
|
||||
app.use('/api/client', (req, res, next) => {
|
||||
if (req.headers.authorization === sharedSecret) {
|
||||
|
Loading…
Reference in New Issue
Block a user