ripoul / url-shortener-api

an api to shorten some url
https://url-shortener.api.ripoul.fr/
MIT License
1 stars 0 forks source link

Gcloud migration #55

Closed ripoul closed 5 years ago

ripoul commented 5 years ago

close #46

codecov[bot] commented 5 years ago

Codecov Report

Merging #55 into master will increase coverage by 0.18%. The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #55      +/-   ##
==========================================
+ Coverage   95.94%   96.12%   +0.18%     
==========================================
  Files          11       11              
  Lines         444      439       -5     
==========================================
- Hits          426      422       -4     
+ Misses         18       17       -1
codecov[bot] commented 5 years ago

Codecov Report

Merging #55 into master will decrease coverage by 0.62%. The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master      #55      +/-   ##
==========================================
- Coverage   95.94%   95.32%   -0.63%     
==========================================
  Files          11       12       +1     
  Lines         444      449       +5     
==========================================
+ Hits          426      428       +2     
- Misses         18       21       +3
ripoul commented 5 years ago

change try catch with :

if os.getenv('SERVER_SOFTWARE', '').startswith('Google App Engine/'):
  # Production
else:
  # Local development server

on this line