Skip to content
This repository was archived by the owner on Jan 2, 2021. It is now read-only.

Commit 0379d8e

Browse files
authored
Gk add netlify deployment (#102)
* Deploying * Deploying
1 parent b9db6cd commit 0379d8e

File tree

7 files changed

+4
-1912
lines changed

7 files changed

+4
-1912
lines changed

.travis.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

_redirects

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Redirect default Netlify subdomain to primary domain
2+
http://qrcodescan.netlify.com/* https://www.qrcodescan.in/:splat 301!
3+
https://qrcodescan/* https://www.qrcodescan/:splat 301!

app/js/vendor/qrscan.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ QRReader.init = () => {
109109
constraints.video.facingMode = 'environment';
110110
}
111111

112-
if (!constraints.video.mandatory.sourceId) {
112+
if (!constraints.video.mandatory.sourceId && !window.iOS) {
113113
startCapture({ video: true });
114114
} else {
115115
startCapture(constraints);

dangerfile.js

Lines changed: 0 additions & 23 deletions
This file was deleted.

deploy.sh

Lines changed: 0 additions & 6 deletions
This file was deleted.

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"version": "3.1.0",
55
"scripts": {
66
"start": "webpack-dev-server --hot --inline --open --mode=development",
7-
"deploy": "npm run build && bash deploy.sh",
87
"build": "cross-env NODE_ENV=production webpack-cli --mode=production --config webpack.config.js",
98
"stats": "cross-env NODE_ENV=production webpack-cli --mode=production --profile --json > stats.json",
109
"precommit": "lint-staged",
@@ -27,7 +26,6 @@
2726
"copy-webpack-plugin": "^4.5.3",
2827
"cross-env": "^5.2.0",
2928
"css-loader": "^1.0.0",
30-
"danger": "^4.4.8",
3129
"extract-text-webpack-plugin": "4.0.0-beta.0",
3230
"file-loader": "^2.0.0",
3331
"html-webpack-plugin": "^3.2.0",

0 commit comments

Comments
 (0)