mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-17 08:00:02 -04:00
fix rewriter
This commit is contained in:
parent
0e37a7f267
commit
396170e4ea
7 changed files with 115 additions and 43 deletions
|
@ -112,7 +112,10 @@ fn main() -> std::io::Result<()> {
|
|||
rewrite(
|
||||
&source_text,
|
||||
Url::from_str("https://google.com/glorngle/si.js").unwrap(),
|
||||
Box::new(encode_string)
|
||||
"/scrammedjet/".to_string(),
|
||||
Box::new(encode_string),
|
||||
"$wrap".to_string(),
|
||||
"$import".to_string(),
|
||||
)
|
||||
.as_slice()
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue