Skip to content

Commit 83dda23

Browse files
committed
lower case headers
1 parent a3e7290 commit 83dda23

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gulpfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const headerComment = require('gulp-header-comment');
1111
// Settings for building packages
1212
const settings = {
1313
name: 'codesy',
14-
version: '0.0.0.9',
14+
version: '0.0.1.0',
1515
source: './src',
1616
destination: './dist',
1717
static_files: {

src/on_install.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ chrome.runtime.onInstalled.addListener(when_installed);
6363
// functions for handling auth changes:
6464

6565
const auth_header ='x-codesy-auth-changed'
66-
const has_auth_header = ({name})=>{ return name.startsWith(auth_header) }
66+
const has_auth_header = ({name})=>{ return name.toLowerCase().startsWith(auth_header) }
6767

6868
function check_codesy_auth ({responseHeaders}) {
6969
auth_headers = responseHeaders.filter(has_auth_header)

0 commit comments

Comments
 (0)