Skip to content

Commit

Permalink
Fix code loader
Browse files Browse the repository at this point in the history
  • Loading branch information
gvdongen committed Jun 21, 2024
1 parent 0f63e83 commit e6217f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/code-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const fs = require('fs');
const fetch = require('node-fetch');

const plugin = (options) => {
const codeLoadRegex = /^CODE_LOAD::([^#?]+)(?:#([^#]+))?(?:\?([^#]+))?$/g;
const codeLoadRegex = /^CODE_LOAD::([^#?]+)(?:#([^?]*))?(?:\?(.+))?$/g;

const injectCode = async (str) => {
let fileData = null;
Expand Down

0 comments on commit e6217f1

Please sign in to comment.