Skip to content

Commit

Permalink
ref #108
Browse files Browse the repository at this point in the history
  • Loading branch information
threepointone committed Nov 15, 2016
1 parent d71901d commit ddd087b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function renderStaticOptimized(fn) {
throw new Error('did you forget to return from renderToString?')
}
let o = { html, ids: [], css: '', rules: [] }
let regex = /css\-([a-zA-Z0-9]+)=/gm
let regex = /css\-([a-zA-Z0-9]+)/gm
let match, ids = {}
while((match = regex.exec(html)) !== null) {
if(!ids[match[1] + '']) {
Expand Down

0 comments on commit ddd087b

Please sign in to comment.