Permalink
Browse files

all paths ending with worker-javascript.js will load the media/lib/ac…

…e/worker-javascript.js
  • Loading branch information...
1 parent f2c30a5 commit 7cfde655516a467ef0ba4d4514e8cb15e2f3bea4 @zalun zalun committed Mar 18, 2011
Showing with 7 additions and 1 deletion.
  1. +1 −0 media/lib/ace/worker-javascript.js
  2. +6 −1 urls.py
Oops, something went wrong.
View
@@ -40,6 +40,11 @@
(r'', include('jetpack.urls')),
# Monitor
- (r'', include('base.urls'))
+ (r'', include('base.urls')),
+
+ # Worker HACK
+ (r'worker-javascript.js$', static.serve, {
+ 'document_root': settings.MEDIA_ROOT,
+ 'path': 'lib/ace/worker-javascript.js'})
])
urlpatterns = patterns('', *urls)

0 comments on commit 7cfde65

Please sign in to comment.