Skip to content

Loading…

Version 2.3.7 broke connect.static for me #629

Closed
rbackhouse opened this Issue · 3 comments

2 participants

@rbackhouse

Moving to 2.3.7 has resulted in code like :

var app = connect()
.use("/_javascript", connectOptimizer)
.use(connect.static(appdir))
.use(connect.static(zazloptimizer.getLoaderDir()));

i.e with more that one use of connect.static

failing to pass on to the 2nd connect.static if a resource is not found in the first one.

I get these reported to the console :

Error: ENOENT, stat '/Users/rbackhouse/dev/zazldev/test/zazlnodejs/examples/loader/amd/zazl.js'

Version 2.3.6 works fine with this code

@tj
Sencha Labs member
tj commented

i must have overlooked some 404 handling, I'll check it out and add test cov

@tj tj closed this in 8daa67e
@tj
Sencha Labs member
tj commented

thanks for the report

@rbackhouse

np. thanks for the quick fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.