Google extensions, whitelist restrictions

Hi, I’m trying to load my model within the code below but I’m getting these errors:
Denying load of . Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.
localhost/:1 Denying load of chrome-extension://iadokddofjgcgjpjlfhngclhpmaelnli/src/assets/styles.css. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.

// Draco loader
const dracoLoader = new DRACOLoader()
dracoLoader.setDecoderPath('/draco/')

// GLTF loader
const gltfLoader = new GLTFLoader()
gltfLoader.setDRACOLoader(dracoLoader)

let model = null
/**
 * Model
 */
 gltfLoader.load(
    '/models/harmless_communication.glb',
    (gltf) => {
        model = gltf.scene
        scene.add(model)
    }
)

what happens if you put “.” before the first / on draco and path urls?

Nothing changes. I tried many things I don’t think it’s about draco I guess.

sounds important…

Yes seems like error is about google extensions, but I’m not doing anything with extensions, that’s why I don’t have a manifest.json so I cannot fix it.

@asliCo you seem to be using localhost which normally involves a server and just as an example, here is what I would provide to Flask server for routes including css files:

@app.route('/<path:path>', methods=['GET'])
@cross_origin()
def get_path(path):
    if path != 'undefined':
        try:
            if path.startswith('uploads/'):
                return send_file( path )
            elif path.endswith('.css'):
                return Response( mimetype='text/css' )
            elif path.endswith('.wasm'):
                return Response( mimetype='application/wasm' )
            elif path.endswith('.bin'):
                return Response( mimetype='application/octet-stream' )
            else:
                return render_template( path )
        except Exception as e:
            return render_template( '404.html' ), 404
    else:
        return make_response( 'Path is undefined' )

You might just need to configure your server properly (if you are actually using one).