+2
-1
@@ -70,4 +70,5 @@ steps:
|
|||||||
- cd __sapper__/export
|
- cd __sapper__/export
|
||||||
- aws s3 sync --delete . s3://$S3_WEBUI_BUCKET
|
- aws s3 sync --delete . s3://$S3_WEBUI_BUCKET
|
||||||
- aws cloudfront create-invalidation --distribution-id $CF_DISTRIBUTION_ID --paths "/*"
|
- aws cloudfront create-invalidation --distribution-id $CF_DISTRIBUTION_ID --paths "/*"
|
||||||
- aws lambda update-function-code --function-name namegen_lambda --zip-file fileb://$(pwd)code.zip
|
- cd ../../
|
||||||
|
- aws lambda update-function-code --function-name namegen_lambda --zip-file fileb://$(pwd)/code.zip
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ async fn main() -> Result<(), Error> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if let Some(gen) = name.generate(format_name) {
|
if let Some(gen) = name.generate(format_name) {
|
||||||
let vec: Vec<String> = gen.take(64).collect();
|
let vec: Vec<String> = gen.take(256).collect();
|
||||||
|
|
||||||
EndpointResult::Ok(
|
EndpointResult::Ok(
|
||||||
Response::builder()
|
Response::builder()
|
||||||
|
|||||||
Reference in New Issue
Block a user