File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 33 specs:
44 diff-lcs (1.4.4 )
55 graphql (1.11.3 )
6- interscript (2.2.1 )
7- interscript-maps (~> 2.2.0 )
6+ interscript (2.3.0 )
7+ interscript-maps (~> 2.3.0a )
88 text
99 thor
10- interscript-maps (2.2.1 )
10+ interscript-maps (2.3.0 )
1111 rake (13.0.1 )
1212 rspec (3.9.0 )
1313 rspec-core (~> 3.9.0 )
@@ -30,12 +30,12 @@ PLATFORMS
3030
3131DEPENDENCIES
3232 graphql (~> 1.9 )
33- interscript (= 2.2.1 )
33+ interscript (= 2.3.0 )
3434 rake
3535 rspec
3636
3737RUBY VERSION
38- ruby 3.0.2p107
38+ ruby 2.7.2p137
3939
4040BUNDLED WITH
41- 2.1.4
41+ 2.2.16
Original file line number Diff line number Diff line change 22require_relative "graphql/schema"
33
44def handler ( event :, context : { } )
5+ puts 123
6+ puts event
57
68 cors_origin = ENV [ "DEFAULT_ORIGIN" ]
79 input_origin = event . fetch ( 'headers' , { } ) . fetch ( 'origin' , "" )
810
911 if /#{ ENV [ "CORS_ORIGIN_REGEX" ] } / =~ input_origin
12+ puts 'match origin'
1013 cors_origin = input_origin
1114 end
1215
You can’t perform that action at this time.
0 commit comments