Chose any task below and make sure to assign it to yourself either on Drupal.org or on GitHub.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Note: only for modern browser | |
| import axios from 'axios' | |
| // helper function: generate a new file from base64 String | |
| const dataURLtoFile = (dataurl, filename) => { | |
| const arr = dataurl.split(',') | |
| const mime = arr[0].match(/:(.*?);/)[1] | |
| const bstr = atob(arr[1]) | |
| let n = bstr.length | |
| const u8arr = new Uint8Array(n) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ProxyPassMatch .+/files/(css|js)/.+ ! | |
| ProxyPassMatch ^/sites/(.+)/files/(.+)$ http://www.$1/sites/$1/files/$2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html<?php print $html_attributes; ?>> | |
| <head> | |
| <?php print $head; ?> | |
| <title><?php print $head_title; ?></title> | |
| <?php print $styles; ?> | |
| <?php print $head_scripts; ?> | |
| </head> | |
| <body<?php print $body_attributes;?>> |