Browse Source

Small bugfixes

dependabot/npm_and_yarn/web/prismjs-1.21.0
Max Schmitt 8 years ago
parent
commit
45a1e3ce60
  1. 2
      .travis.yml
  2. 2
      README.md
  3. 12
      docker-compose.yml
  4. 4
      static/package.json
  5. 2
      store/store.go

2
.travis.yml

@ -1,6 +1,6 @@
language: go language: go
go: go:
- 1.9 - stable
services: services:
- docker - docker
install: install:

2
README.md

@ -19,7 +19,7 @@
- Easy [ShareX](https://github.com/ShareX/ShareX) integration - Easy [ShareX](https://github.com/ShareX/ShareX) integration
- Dockerizable - Dockerizable
## [Webinterface](https://s.b0n.pl) ## [Webinterface](https://so.sh0rt.cat)
![Short URLs](https://user-images.githubusercontent.com/17984549/32700384-955d9336-c7c4-11e7-9fab-4141a86a375c.png) ![Short URLs](https://user-images.githubusercontent.com/17984549/32700384-955d9336-c7c4-11e7-9fab-4141a86a375c.png)

12
docker-compose.yml

@ -6,10 +6,10 @@ golang_url_shortener:
- ./data:/data - ./data:/data
environment: environment:
- GUS_BASE_URL=https://s.b0n.pl - GUS_BASE_URL=https://s.b0n.pl
- GUS_GOOGLE_CLIENTID= - GUS_GOOGLE_CLIENT_ID=
- GUS_GOOGLE_CLIENTSECRET= - GUS_GOOGLE_CLIENT_SECRET=
- GUS_GITHUB_CLIENTID= - GUS_GITHUB_CLIENT_ID=
- GUS_GITHUB_CLIENTSECRET= - GUS_GITHUB_CLIENT_SECRET=
- GUS_MICROSOFT_CLIENTID= - GUS_MICROSOFT_CLIENT_ID=
- GUS_MICROSOFT_CLIENTSECRET= - GUS_MICROSOFT_CLIENT_SECRET=
restart: always restart: always

4
static/package.json

@ -17,12 +17,12 @@
"react-moment": "^0.6.8", "react-moment": "^0.6.8",
"react-prism": "^4.3.1", "react-prism": "^4.3.1",
"react-qr-svg": "^2.1.0", "react-qr-svg": "^2.1.0",
"react-responsive": "^4.0.2", "react-responsive": "^4.0.3",
"react-router": "^4.2.0", "react-router": "^4.2.0",
"react-router-dom": "^4.2.2", "react-router-dom": "^4.2.2",
"react-scripts": "1.0.17", "react-scripts": "1.0.17",
"semantic-ui-css": "^2.2.12", "semantic-ui-css": "^2.2.12",
"semantic-ui-react": "^0.76.0", "semantic-ui-react": "^0.77.0",
"toastr": "^2.1.2" "toastr": "^2.1.2"
}, },
"scripts": { "scripts": {

2
store/store.go

@ -61,7 +61,7 @@ var ErrEntryIsExpired = errors.New("entry is expired")
var ( var (
shortedURLsBucket = []byte("shorted") shortedURLsBucket = []byte("shorted")
shortedIDsToUserBucket = []byte("shorted2IDs") shortedIDsToUserBucket = []byte("shorted2Users")
) )
// New initializes the store with the db // New initializes the store with the db

Loading…
Cancel
Save