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