Skip to content

The cloud.artifactUrl() helper is always returning the cloud CDN domain - even locally #107

@AimeeHendrycks

Description

@AimeeHendrycks

Description

On Craft Cloud 2.17.1, the cloud.artifactUrl() helper is always returning the cloud CDN domain - even locally, which is not expected. 2.14.3 correctly returns the local domain.
Attached are screenshots of a test twig template on the different versions.

Image Image

Additional info

  • craftcms/cms version: 5.8.15
  • craftcms/cloud version: 2.17.1
  • PHP version: 8.2.29

Additional question

P.S. When deploying to Craft Cloud, even if I have the version set to 2.14.3 in composer.lock, it forces an update to 2.17.1. Is there a way around this/to prevent this?

Image Image

Metadata

Metadata

Assignees

Labels

Cloud ExtensionSync to LinearbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions