Skip to content

Correct usage of convertFileSrc() #12678

Answered by stackedCG
stackedCG asked this question in Q&A
Discussion options

You must be logged in to vote

Upon digging deeper on the archives of all the documentations, I manage to make it work on my end

  "app": {
    ...
    "security": {
      "csp": "default-src 'self'; frame-src 'self' asset: http://asset.localhost; style-src 'self' 'unsafe-inline'; script-src 'self'; ",
      "assetProtocol": {
        "enable": true,
        "scope": ["$RESOURCE/**/*"]
      }
    }
  },
  "bundle": {
    ...
    "resources": ["../src/miscs/**/*", "../src/test_templates_temporary/**/*"]
  }

And now I am filled with adrenaline to just continue this project even though its already bed time lol. I have still one other thing to implement, is that to access the contents of the iframe, I think that might be…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@stackedCG
Comment options

@stackedCG
Comment options

Answer selected by stackedCG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant