Skip to content

docs: src of docsify-copy-code #1585

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 4, 2021
Merged

Conversation

Anilople
Copy link
Contributor

@Anilople Anilople commented Jun 2, 2021

Summary

In Chrome 90.0.4430.212(正式版本) (64 位)

Use

docsify serve .

run the server.

If user use plugin

<script src="//cdn.jsdelivr.net/npm/docsify-copy-code"></script>

The console of Chrome will show

DevTools failed to load SourceMap: Could not load content for http://cdn.jsdelivr.net/npm/docsify-copy-code.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

image

When change src

<script src="//cdn.jsdelivr.net/npm/docsify-copy-code/dist/docsify-copy-code.min.js"></script>

The warning message will disappear.

What kind of change does this PR introduce?

Docs

For any code change,

  • Related documentation has been updated if needed
  • Related tests have been updated or tests have been added

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

Related issue, if any:

None

Tested in the following browsers:

  • Chrome
  • Firefox
  • Safari
  • Edge
  • IE

@vercel
Copy link

vercel bot commented Jun 2, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/docsify-core/docsify-preview/8zvKEjDit3zkXckTTYGsEibds9ZN
✅ Preview: https://docsify-preview-git-fork-anilople-patch-2-docsify-core.vercel.app

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jun 2, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 2440783:

Sandbox Source
docsify-template Configuration

sy-records
sy-records previously approved these changes Jun 4, 2021
@sy-records sy-records changed the base branch from master to develop June 4, 2021 04:12
@sy-records sy-records dismissed their stale review June 4, 2021 04:12

The base branch was changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants