Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jul 17th, 2018
83
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
def app.call(env)
if env['PATH_INFO'][/\/backend/]
Rack::Auth::Basic.new(to_app, nil) do |login,pass|
pass == 'secret'
end.call(env)
else
to_app.call(env)
end
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 44 min ago | 0.38 KB
Error 3
Python | 53 min ago | 1.85 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 1 hour ago | 0.39 KB
Módulo de ranking de puntos CSS
CSS | 1 hour ago | 0.49 KB
Módulo de ranking de puntos JS
jQuery | 1 hour ago | 1.25 KB
Toilet Tower Defense | Askar Script
Lua | 1 hour ago | 0.10 KB
Untitled
C++ | 1 hour ago | 1.08 KB
News April26 24
Email | 1 hour ago | 91.34 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!