Problem
The following line is making the No Network Calls check fail:
this.load.image('myBase64Image', 'data:image/png;base64,iVBORw0KGgoAAAA...')
The regex isn't excluding the data:image/ URLs.
|
const externalUrlPattern = /(https?:\/\/|\/\/[a-zA-Z0-9])/g; |
Solution
A simple solution is to exclude from the gameCode the data images:
const lines = gameCode.replace(/data:[^,]+,[^\s'"`)]+/g, '').split('\n');
cc @rafafdz
Problem
The following line is making the No Network Calls check fail:
The regex isn't excluding the
data:image/URLs.platanus-hack-25-arcade/check-restrictions.lib.ts
Line 65 in 2ef67b2
Solution
A simple solution is to exclude from the
gameCodethe data images:cc @rafafdz