Browse Source

forgot to add config for REST profil

bach 2 years ago
parent
commit
70d13693d5
2 changed files with 19 additions and 1 deletions
  1. 1 1
      config/sync/pwa.config.yml
  2. 18 0
      config/sync/rest.resource.entity.profile.yml

+ 1 - 1
config/sync/pwa.config.yml

@@ -12,7 +12,7 @@ default_image: '0'
 urls_to_cache: "/en/pricing\r\n/en/blabla\r\n/en/base\r\n/en/showrooms"
 urls_to_exclude: "admin/.*\r\nuser/.*"
 offline_page: /offline
-cache_version: '3'
+cache_version: '3.1'
 cross_origin: false
 skip_waiting: false
 image: /sites/default/files/pwa/materiopwaicon.png

+ 18 - 0
config/sync/rest.resource.entity.profile.yml

@@ -0,0 +1,18 @@
+uuid: caed5190-89cc-4c68-a050-8d2a50795bd8
+langcode: fr
+status: true
+dependencies:
+  module:
+    - profile
+    - serialization
+    - user
+id: entity.profile
+plugin_id: 'entity:profile'
+granularity: resource
+configuration:
+  methods:
+    - GET
+  formats:
+    - json
+  authentication:
+    - cookie