Skip to content

Error when use fixed.version #4865

@abel533

Description

@abel533

When I config application as the following:

spring.resources.chain.strategy.fixed.enabled=true
spring.resources.chain.strategy.fixed.paths=/js/**,/v1.0.0/**
spring.resources.chain.strategy.fixed.version=v1.0.0

I use freemarker,the final source url like below:

<script type="text/javascript" src="/v1.0.0/js/index.js"></script>

If remove /v1.0.0/** from paths,the static source can't find /v1.0.0 path.

I think, if I config the fixed.version,it should auto config to fixed.paths.This will solve the problem.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions